function ComponentPluginManager::processDefinition
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/ Theme/ ComponentPluginManager.php, line 247
Class
- ComponentPluginManager
- Defines a plugin manager to deal with components.
Namespace
Drupal\Core\ThemeCode
public function processDefinition(&$definition, $plugin_id) : void {
parent::processDefinition($definition, $plugin_id);
$this->processDefinitionCategory($definition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.