public function Categories::defaultConfiguration in Block field 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides BlockFieldSelectionBase::defaultConfiguration
File
- src/
Plugin/ block_field/ BlockFieldSelection/ Categories.php, line 26
Class
- Categories
- Provides a 'categories' BlockFieldSection.
Namespace
Drupal\block_field\Plugin\block_field\BlockFieldSelectionCode
public function defaultConfiguration() {
return [
'categories' => [],
] + parent::defaultConfiguration();
}