BlockManager::processDefinition

public BlockManager::processDefinition(&$definition, $plugin_id)

Performs extra processing on plugin definitions.

By default we add defaults for the type to the definition. If a type has additional processing logic they can do that by replacing or extending the method.

Overrides DefaultPluginManager::processDefinition

File

core/lib/Drupal/Core/Block/BlockManager.php, line 48

Class

BlockManager
Manages discovery and instantiation of block plugins.

Namespace

Drupal\Core\Block

Code

1
2
3
4
public function processDefinition(&$definition, $plugin_id) {
  parent::processDefinition($definition, $plugin_id);
  $this->processDefinitionCategory($definition);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.