function ImageStyles::fields

Same name in other branches
  1. 9 core/modules/image/src/Plugin/migrate/source/d7/ImageStyles.php \Drupal\image\Plugin\migrate\source\d7\ImageStyles::fields()
  2. 8.9.x core/modules/image/src/Plugin/migrate/source/d7/ImageStyles.php \Drupal\image\Plugin\migrate\source\d7\ImageStyles::fields()
  3. 10 core/modules/image/src/Plugin/migrate/source/d7/ImageStyles.php \Drupal\image\Plugin\migrate\source\d7\ImageStyles::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/image/src/Plugin/migrate/source/d7/ImageStyles.php, line 36

Class

ImageStyles
Drupal 7 image styles source from database.

Namespace

Drupal\image\Plugin\migrate\source\d7

Code

public function fields() {
    $fields = [
        'isid' => $this->t('The primary identifier for an image style.'),
        'name' => $this->t('The style machine name.'),
        'label' => $this->t('The style administrative name.'),
    ];
    return $fields;
}

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