Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResponsiveImageStyles.php

function ResponsiveImageStyles::fields

Overrides MigrateSourceInterface::fields

File

core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php, line 36

Class

ResponsiveImageStyles
Gets Drupal responsive image styles source from database.

Namespace

Drupal\responsive_image\Plugin\migrate\source\d7

Code

public function fields() {
    $fields = [
        'label' => $this->t('The human-readable name of the mapping'),
        'machine_name' => $this->t('The machine name of the mapping'),
        'breakpoint_group' => $this->t('The group this mapping belongs to'),
        'mapping' => $this->t('The mappings linked to the breakpoints group'),
    ];
    return $fields;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal