function FilterFormat::fields

Same name in this branch
  1. 11.x core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::fields()
Same name and namespace in other branches
  1. 9 core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::fields()
  2. 9 core/modules/filter/src/Plugin/migrate/source/d7/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d7\FilterFormat::fields()
  3. 8.9.x core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::fields()
  4. 8.9.x core/modules/filter/src/Plugin/migrate/source/d7/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d7\FilterFormat::fields()
  5. 10 core/modules/filter/src/Plugin/migrate/source/d6/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d6\FilterFormat::fields()
  6. 10 core/modules/filter/src/Plugin/migrate/source/d7/FilterFormat.php \Drupal\filter\Plugin\migrate\source\d7\FilterFormat::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/filter/src/Plugin/migrate/source/d7/FilterFormat.php, line 33

Class

FilterFormat
Drupal 7 filter source from database.

Namespace

Drupal\filter\Plugin\migrate\source\d7

Code

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.'),
        '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.'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.