interface TestContextAwareBlockInterface in Drupal 8
Same name and namespace in other branches
- 9 core/modules/block/tests/src/Unit/BlockRepositoryTest.php \Drupal\Tests\block\Unit\TestContextAwareBlockInterface
Hierarchy
- interface \Drupal\Core\Block\BlockPluginInterface; interface \Drupal\Core\Plugin\ContextAwarePluginInterface
- interface \Drupal\Tests\block\Unit\TestContextAwareBlockInterface
Expanded class hierarchy of TestContextAwareBlockInterface
All classes that implement TestContextAwareBlockInterface
File
- core/
modules/ block/ tests/ src/ Unit/ BlockRepositoryTest.php, line 195 - Contains \Drupal\Tests\block\Unit\BlockRepositoryTest.
Namespace
Drupal\Tests\block\UnitView source
interface TestContextAwareBlockInterface extends BlockPluginInterface, ContextAwarePluginInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BlockPluginInterface:: |
public | function | Indicates whether the block should be shown. | |
BlockPluginInterface:: |
public | function | Returns the configuration form elements specific to this block plugin. | |
BlockPluginInterface:: |
public | function | Adds block type-specific submission handling for the block form. | |
BlockPluginInterface:: |
public | function | Adds block type-specific validation for the block form. | |
BlockPluginInterface:: |
constant | Indicates the block label (title) should be displayed to end users. | ||
BlockPluginInterface:: |
public | function | Builds and returns the renderable array for this block plugin. | 47 |
BlockPluginInterface:: |
public | function | Suggests a machine name to identify an instance of this block. | |
BlockPluginInterface:: |
public | function | Returns the user-facing block label. | |
BlockPluginInterface:: |
public | function | Sets a particular value in the block settings. | |
CacheableDependencyInterface:: |
public | function | The cache contexts associated with this object. | 34 |
CacheableDependencyInterface:: |
public | function | The maximum age for which this object may be cached. | 34 |
CacheableDependencyInterface:: |
public | function | The cache tags associated with this object. | 27 |
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
ContextAwarePluginInterface:: |
public | function | Gets a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function |
Gets a specific context definition of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function |
Gets the context definitions of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function | Gets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the values for all defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Set a context on this plugin. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Validates the set values for the defined contexts. | 1 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 1 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |