ResponsiveImageStyleListBuilder::getDefaultOperations

public ResponsiveImageStyleListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php, line 34 Class ResponsiveImageStyleListBuilder Pr

ResponsiveImageStyleListBuilder::buildRow

public ResponsiveImageStyleListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php, line 25 Class ResponsiveImageStyl

ResponsiveImageStyleListBuilder::buildHeader

public ResponsiveImageStyleListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php, line 16 Class ResponsiveImageStyleListBuilder Provides a listing of responsive image styles. Namespace Drupal\responsive_image Code public function bui

ResponsiveImageStyleListBuilder

Provides a listing of responsive image styles. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\responsive_image\ResponsiveImageStyleListBuilder File core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php, line 11 Namespace Drupal\respon

ResponsiveImageStyleInterface::setFallbackImageStyle

public ResponsiveImageStyleInterface::setFallbackImageStyle($fallback_image_style) Sets the fallback image style for the responsive image style. Parameters string $fallback_image_style: The fallback image style ID. Return value $this File core/modules/responsive_image/src/ResponsiveImageStyleInterface.php, line 77 Class ResponsiveImageStyleInterface Provides an interface defining a responsive_image mapping entity. Namespace Drupal\responsive_image Code public function setFallbackImag

ResponsiveImageStyleInterface::setBreakpointGroup

public ResponsiveImageStyleInterface::setBreakpointGroup($breakpoint_group) Sets the breakpoint group for the responsive image style. Parameters string $breakpoint_group: The responsive image style breakpoint group. Return value $this File core/modules/responsive_image/src/ResponsiveImageStyleInterface.php, line 59 Class ResponsiveImageStyleInterface Provides an interface defining a responsive_image mapping entity. Namespace Drupal\responsive_image Code public function setBreakpointG

ResponsiveImageStyleInterface::removeImageStyleMappings

public ResponsiveImageStyleInterface::removeImageStyleMappings() Removes all image style mappings from the responsive image style. Return value $this File core/modules/responsive_image/src/ResponsiveImageStyleInterface.php, line 140 Class ResponsiveImageStyleInterface Provides an interface defining a responsive_image mapping entity. Namespace Drupal\responsive_image Code public function removeImageStyleMappings();

ResponsiveImageStyleInterface::isEmptyImageStyleMapping

public static ResponsiveImageStyleInterface::isEmptyImageStyleMapping(array $image_style_mapping) Checks if there is at least one image style mapping defined. Parameters array $image_style_mapping: The image style mapping. Return value bool Whether the image style mapping is empty. File core/modules/responsive_image/src/ResponsiveImageStyleInterface.php, line 119 Class ResponsiveImageStyleInterface Provides an interface defining a responsive_image mapping entity. Namespace Drupal\resp

ResponsiveImageStyleInterface::hasImageStyleMappings

public ResponsiveImageStyleInterface::hasImageStyleMappings() Checks if there is at least one mapping defined. Return value bool Whether the entity has any image style mappings. File core/modules/responsive_image/src/ResponsiveImageStyleInterface.php, line 18 Class ResponsiveImageStyleInterface Provides an interface defining a responsive_image mapping entity. Namespace Drupal\responsive_image Code public function hasImageStyleMappings();

ResponsiveImageStyleInterface::getKeyedImageStyleMappings

public ResponsiveImageStyleInterface::getKeyedImageStyleMappings() Returns the mappings of breakpoint ID and multiplier to image style. Return value array[] The image style mappings. Keyed by breakpoint ID then multiplier. The value is the image style mapping array with following keys: image_mapping_type: Either 'image_style' or 'sizes'. image_mapping: If image_mapping_type is 'image_style', the image style ID. If image_mapping_type is 'sizes', an array with following keys: sizes: The value