public function Menu::fields in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Plugin/migrate/source/Menu.php \Drupal\system\Plugin\migrate\source\Menu::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/ system/ src/ Plugin/ migrate/ source/ Menu.php, line 32 - Contains \Drupal\system\Plugin\migrate\source\Menu.
Class
- Menu
- Menu source from database.
Namespace
Drupal\system\Plugin\migrate\sourceCode
public function fields() {
return array(
'menu_name' => $this
->t('The menu name. Primary key.'),
'title' => $this
->t('The human-readable name of the menu.'),
'description' => $this
->t('A description of the menu'),
);
}