comparison core/lib/Drupal/Core/Block/BlockPluginInterface.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
1 <?php 1 <?php
2 2
3 namespace Drupal\Core\Block; 3 namespace Drupal\Core\Block;
4 4
5 use Drupal\Component\Plugin\ConfigurablePluginInterface;
5 use Drupal\Component\Plugin\DerivativeInspectionInterface; 6 use Drupal\Component\Plugin\DerivativeInspectionInterface;
6 use Drupal\Core\Cache\CacheableDependencyInterface; 7 use Drupal\Core\Cache\CacheableDependencyInterface;
7 use Drupal\Component\Plugin\PluginInspectionInterface; 8 use Drupal\Component\Plugin\PluginInspectionInterface;
8 use Drupal\Component\Plugin\ConfigurablePluginInterface; 9 use Drupal\Component\Plugin\ConfigurableInterface;
10 use Drupal\Component\Plugin\DependentPluginInterface;
9 use Drupal\Core\Form\FormStateInterface; 11 use Drupal\Core\Form\FormStateInterface;
10 use Drupal\Core\Plugin\PluginFormInterface; 12 use Drupal\Core\Plugin\PluginFormInterface;
11 use Drupal\Core\Session\AccountInterface; 13 use Drupal\Core\Session\AccountInterface;
12 14
13 /** 15 /**
18 * brief references to the important components that are not coupled to the 20 * brief references to the important components that are not coupled to the
19 * interface. 21 * interface.
20 * 22 *
21 * @ingroup block_api 23 * @ingroup block_api
22 */ 24 */
23 interface BlockPluginInterface extends ConfigurablePluginInterface, PluginFormInterface, PluginInspectionInterface, CacheableDependencyInterface, DerivativeInspectionInterface { 25 interface BlockPluginInterface extends ConfigurableInterface, DependentPluginInterface, ConfigurablePluginInterface, PluginFormInterface, PluginInspectionInterface, CacheableDependencyInterface, DerivativeInspectionInterface {
24 26
25 /** 27 /**
26 * Indicates the block label (title) should be displayed to end users. 28 * Indicates the block label (title) should be displayed to end users.
27 */ 29 */
28 const BLOCK_LABEL_VISIBLE = 'visible'; 30 const BLOCK_LABEL_VISIBLE = 'visible';