public function FeatureListMenuLink::getDerivativeDefinitions in Configuration selector 8.2
Same name and namespace in other branches
- 8 src/Plugin/Derivative/FeatureListMenuLink.php \Drupal\config_selector\Plugin\Derivative\FeatureListMenuLink::getDerivativeDefinitions()
Gets the definition of all derivatives of a base plugin.
Parameters
array $base_plugin_definition: The definition array of the base plugin.
Return value
array An array of full derivative definitions keyed on derivative id.
Overrides DeriverBase::getDerivativeDefinitions
See also
getDerivativeDefinition()
File
- src/
Plugin/ Derivative/ FeatureListMenuLink.php, line 46
Class
- FeatureListMenuLink
- Test derivative with an unsafe string.
Namespace
Drupal\config_selector\Plugin\DerivativeCode
public function getDerivativeDefinitions($base_plugin_definition) {
if ($this
->count()) {
$this->derivatives['config_selector.admin_display'] = $base_plugin_definition;
}
return $this->derivatives;
}