public function ConfigurableAuthorizationPluginBase::__construct in Authorization 8
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides PluginBase::__construct
1 call to ConfigurableAuthorizationPluginBase::__construct()
- DrupalRolesConsumer::__construct in authorization_drupal_roles/
src/ Plugin/ authorization/ Consumer/ DrupalRolesConsumer.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
1 method overrides ConfigurableAuthorizationPluginBase::__construct()
- DrupalRolesConsumer::__construct in authorization_drupal_roles/
src/ Plugin/ authorization/ Consumer/ DrupalRolesConsumer.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
File
- src/
Plugin/ ConfigurableAuthorizationPluginBase.php, line 30
Class
- ConfigurableAuthorizationPluginBase
- Provides a base class for all configurable Authorization plugins.
Namespace
Drupal\authorization\PluginCode
public function __construct(array $configuration, string $plugin_id, array $plugin_definition) {
$configuration += $this
->defaultConfiguration();
parent::__construct($configuration, $plugin_id, $plugin_definition);
}