public function AclTable::__construct in ACL 8
Same name in this branch
- 8 src/Plugin/migrate/source/AclTable.php \Drupal\acl\Plugin\migrate\source\AclTable::__construct()
- 8 src/Plugin/migrate/destination/AclTable.php \Drupal\acl\Plugin\migrate\destination\AclTable::__construct()
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 SqlBase::__construct
File
- src/
Plugin/ migrate/ source/ AclTable.php, line 47
Class
- AclTable
- Drupal 6/7 ACL Table source from database.
Namespace
Drupal\acl\Plugin\migrate\sourceCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $state);
$this->table_name = $this->configuration['table_name'];
$this->fields_list = $this->configuration['fields_list'];
if (!empty($this->configuration['ids'])) {
$this->ids = $this->configuration['ids'];
}
}