public function FilterFormat::fields in Zircon Profile 8
Same name in this branch
- 8 core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::fields()
- 8 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.0 core/modules/filter/src/Plugin/migrate/source/d7/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d7\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/ d7/ FilterFormat.php, line 32 - Contains \Drupal\filter\Plugin\migrate\source\d7\FilterFormat.
Class
- FilterFormat
- Drupal 7 filter source from database.
Namespace
Drupal\filter\Plugin\migrate\source\d7Code
public function fields() {
return array(
'format' => $this
->t('Format ID.'),
'name' => $this
->t('The name of the format.'),
'cache' => $this
->t('Whether the format is cacheable.'),
'status' => $this
->t('The status of the format'),
'weight' => $this
->t('The weight of the format'),
'filters' => $this
->t('The filters configured for the format.'),
);
}