interface TestBlockPluginWithRefinableDependentAccessInterface
Same name and namespace in other branches
- 9 core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php \Drupal\Tests\layout_builder\Unit\TestBlockPluginWithRefinableDependentAccessInterface
- 8.9.x core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php \Drupal\Tests\layout_builder\Unit\TestBlockPluginWithRefinableDependentAccessInterface
- 10 core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php \Drupal\Tests\layout_builder\Unit\TestBlockPluginWithRefinableDependentAccessInterface
Test interface for dependent access block plugins.
Hierarchy
- interface \Drupal\Core\Access\RefinableDependentAccessInterface implements \Drupal\Core\Access\DependentAccessInterface; interface \Drupal\Core\Block\BlockPluginInterface implements \Drupal\Component\Plugin\ConfigurableInterface, \Drupal\Component\Plugin\DependentPluginInterface, \Drupal\Core\Plugin\PluginFormInterface, \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Core\Cache\CacheableDependencyInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- interface \Drupal\Tests\layout_builder\Unit\TestBlockPluginWithRefinableDependentAccessInterface implements \Drupal\Core\Block\BlockPluginInterface, \Drupal\Core\Access\RefinableDependentAccessInterface
Expanded class hierarchy of TestBlockPluginWithRefinableDependentAccessInterface
All classes that implement TestBlockPluginWithRefinableDependentAccessInterface
File
-
core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php, line 559
Namespace
Drupal\Tests\layout_builder\UnitView source
interface TestBlockPluginWithRefinableDependentAccessInterface extends BlockPluginInterface, RefinableDependentAccessInterface {
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
BlockPluginInterface::access | public | function | Indicates whether the block should be shown. | |
BlockPluginInterface::blockForm | public | function | Returns the configuration form elements specific to this block plugin. | |
BlockPluginInterface::blockSubmit | public | function | Adds block type-specific submission handling for the block form. | |
BlockPluginInterface::blockValidate | public | function | Adds block type-specific validation for the block form. | |
BlockPluginInterface::BLOCK_LABEL_VISIBLE | constant | Indicates the block label (title) should be displayed to end users. | ||
BlockPluginInterface::build | public | function | Builds and returns the renderable array for this block plugin. | 57 |
BlockPluginInterface::createPlaceholder | public | function | Whether to render blocks in a placeholder. | |
BlockPluginInterface::getMachineNameSuggestion | public | function | Suggests a machine name to identify an instance of this block. | |
BlockPluginInterface::label | public | function | Returns the user-facing block label. | |
BlockPluginInterface::setConfigurationValue | public | function | Sets a particular value in the block settings. | |
CacheableDependencyInterface::getCacheContexts | public | function | The cache contexts associated with this object. | 34 |
CacheableDependencyInterface::getCacheMaxAge | public | function | The maximum age for which this object may be cached. | 34 |
CacheableDependencyInterface::getCacheTags | public | function | The cache tags associated with this object. | 27 |
ConfigurableInterface::defaultConfiguration | public | function | Gets default configuration for this plugin. | 16 |
ConfigurableInterface::getConfiguration | public | function | Gets this plugin's configuration. | 4 |
ConfigurableInterface::setConfiguration | public | function | Sets the configuration for this plugin instance. | 4 |
DependentAccessInterface::getAccessDependency | public | function | Gets the access dependency. | |
DependentPluginInterface::calculateDependencies | public | function | Calculates dependencies for the configured plugin. | 19 |
DerivativeInspectionInterface::getBaseId | public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface::getDerivativeId | public | function | Gets the derivative_id of the plugin instance. | 1 |
PluginFormInterface::buildConfigurationForm | public | function | Form constructor. | 48 |
PluginFormInterface::submitConfigurationForm | public | function | Form submission handler. | 44 |
PluginFormInterface::validateConfigurationForm | public | function | Form validation handler. | 29 |
PluginInspectionInterface::getPluginDefinition | public | function | Gets the definition of the plugin implementation. | 5 |
PluginInspectionInterface::getPluginId | public | function | Gets the plugin ID of the plugin instance. | 3 |
RefinableDependentAccessInterface::addAccessDependency | public | function | Adds an access dependency into the existing access dependency. | |
RefinableDependentAccessInterface::setAccessDependency | public | function | Sets the access dependency. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.