protected function ExtensionManager::alterDefinition in Markdown 8.2
Allows plugin managers to further alter individual definitions.
Parameters
\Drupal\markdown\Annotation\InstallablePlugin $definition: The definition being altered.
bool $runtime: Flag indicating whether this is a runtime alteration.
Overrides InstallablePluginManager::alterDefinition
File
- src/
PluginManager/ ExtensionManager.php, line 99
Class
- ExtensionManager
- Markdown Extension Plugin Manager.
Namespace
Drupal\markdown\PluginManagerCode
protected function alterDefinition(InstallablePlugin $definition, $runtime = FALSE) {
// Immediately return if not altering the runtime definition.
if (!$runtime) {
parent::alterDefinition($definition, $runtime);
return;
}
parent::alterDefinition($definition, $runtime);
}