Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/block_content/src/BlockContentEvents.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\block_content; | |
4 | |
5 /** | |
6 * Defines events for the block_content module. | |
7 * | |
8 * @see \Drupal\block_content\Event\BlockContentGetDependencyEvent | |
9 * | |
10 * @internal | |
11 */ | |
12 final class BlockContentEvents { | |
13 | |
14 /** | |
15 * Name of the event when getting the dependency of a non-reusable block. | |
16 * | |
17 * This event allows modules to provide a dependency for non-reusable block | |
18 * access if | |
19 * \Drupal\block_content\Access\DependentAccessInterface::getAccessDependency() | |
20 * did not return a dependency during access checking. | |
21 * | |
22 * @Event | |
23 * | |
24 * @see \Drupal\block_content\Event\BlockContentGetDependencyEvent | |
25 * @see \Drupal\block_content\BlockContentAccessControlHandler::checkAccess() | |
26 * | |
27 * @var string | |
28 */ | |
29 const BLOCK_CONTENT_GET_DEPENDENCY = 'block_content.get_dependency'; | |
30 | |
31 } |