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 an entity destination plugin.
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.
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration.
Overrides DestinationBase::__construct
File
- src/
Plugin/ migrate/ destination/ AclTable.php, line 48
Class
- AclTable
- Drupal 8 ACL Table destination.
Namespace
Drupal\acl\Plugin\migrate\destinationCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration);
$this->table_name = $this->configuration['table_name'];
$this->fields_list = $this->configuration['fields_list'];
if (!empty($this->configuration['ids'])) {
$this->ids = $this->configuration['ids'];
}
}