public function Variable::fields in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php \Drupal\migrate_drupal\Plugin\migrate\source\Variable::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
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ Variable.php, line 73 - Contains \Drupal\migrate_drupal\Plugin\migrate\source\Variable.
Class
- Variable
- Drupal variable source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
public function fields() {
return array_combine($this->variables, $this->variables);
}