You are here

public function AclTable::fields in ACL 8

Same name in this branch
  1. 8 src/Plugin/migrate/source/AclTable.php \Drupal\acl\Plugin\migrate\source\AclTable::fields()
  2. 8 src/Plugin/migrate/destination/AclTable.php \Drupal\acl\Plugin\migrate\destination\AclTable::fields()

Returns available fields on the source.

Return value

array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.

Overrides MigrateSourceInterface::fields

File

src/Plugin/migrate/source/AclTable.php, line 71

Class

AclTable
Drupal 6/7 ACL Table source from database.

Namespace

Drupal\acl\Plugin\migrate\source

Code

public function fields() {
  return array_combine($this->fields_list, $this->fields_list);
}