public function AclList::fields in ACL 8
Same name in this branch
- 8 src/Plugin/migrate/source/AclList.php \Drupal\acl\Plugin\migrate\source\AclList::fields()
- 8 src/Plugin/migrate/destination/AclList.php \Drupal\acl\Plugin\migrate\destination\AclList::fields()
Returns an array of destination fields.
Derived classes must implement fields(), returning a list of available destination fields.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: Unused, will be removed before Drupal 9.0.x. Defaults to NULL.
Return value
array
- Keys: machine names of the fields
- Values: Human-friendly descriptions of the fields.
Overrides MigrateDestinationInterface::fields
File
- src/
Plugin/ migrate/ destination/ AclList.php, line 48
Class
- AclList
- Drupal 8 ACL List Table destination.
Namespace
Drupal\acl\Plugin\migrate\destinationCode
public function fields(MigrationInterface $migration = NULL) {
return [
'acl_id' => $this
->t('Primary key: unique ACL ID.'),
'module' => $this
->t('The name of the module that created this ACL entry.'),
'name' => $this
->t('A name (or other identifying information) for this ACL entry, given by the module that created it.'),
'figure' => $this
->t('A number for this ACL entry, given by the module that created it.'),
];
}