function VariableTranslation::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/ d7/ VariableTranslation.php, line 104
Class
- VariableTranslation
- Drupal 7 variable_store source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\source\d7Code
public function fields() {
return array_combine($this->variables, $this->variables);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.