public function FilterFormat::fields in Drupal 9
Same name in this branch
- 9 core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::fields()
- 9 core/modules/filter/src/Plugin/migrate/source/d7/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d7\FilterFormat::fields()
Same name and namespace in other branches
- 8 core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::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/ filter/ src/ Plugin/ migrate/ source/ d6/ FilterFormat.php, line 33
Class
- FilterFormat
- Drupal 6 filter source from database.
Namespace
Drupal\filter\Plugin\migrate\source\d6Code
public function fields() {
return [
'format' => $this
->t('Format ID.'),
'name' => $this
->t('The name of the format.'),
'cache' => $this
->t('Whether the format is cacheable.'),
'roles' => $this
->t('The role IDs which can use the format.'),
'filters' => $this
->t('The filters configured for the format.'),
];
}