function EntityTestBlock::defaultConfiguration
Same name and namespace in other branches
- main core/modules/system/tests/modules/entity_test/src/Plugin/Block/EntityTestBlock.php \Drupal\entity_test\Plugin\Block\EntityTestBlock::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Block/ EntityTestBlock.php, line 34
Class
- EntityTestBlock
- Provides a block that renders an entity with parallel placeholder rendering.
Namespace
Drupal\entity_test\Plugin\BlockCode
public function defaultConfiguration() : array {
return [
'entity_type_id' => 'entity_test',
'entity_id' => NULL,
] + parent::defaultConfiguration();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.