| ResponsiveImageStyle::addImageStyleMapping |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Adds an image style mapping to the responsive image configuration entity. |
| ResponsiveImageStyle::calculateDependencies |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Calculates dependencies and stores them in the dependency property. |
| ResponsiveImageStyle::getBreakpointGroup |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Returns the breakpoint group for the responsive image style. |
| ResponsiveImageStyle::getFallbackImageStyle |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Returns the fallback image style ID for the responsive image style. |
| ResponsiveImageStyle::getImageStyleIds |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Gets all the image styles IDs involved in the responsive image mapping. |
| ResponsiveImageStyle::getImageStyleMapping |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Gets the image style mapping for a breakpoint ID and multiplier. |
| ResponsiveImageStyle::getImageStyleMappings |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Returns the image style mappings for the responsive image style. |
| ResponsiveImageStyle::getKeyedImageStyleMappings |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Returns the mappings of breakpoint ID and multiplier to image style. |
| ResponsiveImageStyle::hasImageStyleMappings |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Checks if there is at least one mapping defined. |
| ResponsiveImageStyle::isEmptyImageStyleMapping |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Checks if there is at least one image style mapping defined. |
| ResponsiveImageStyle::removeImageStyleMappings |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Removes all image style mappings from the responsive image style. |
| ResponsiveImageStyle::setBreakpointGroup |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Sets the breakpoint group for the responsive image style. |
| ResponsiveImageStyle::setFallbackImageStyle |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Sets the fallback image style for the responsive image style. |
| ResponsiveImageStyle::sortMappings |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Sort mappings by breakpoint ID and multiplier. |
| ResponsiveImageStyle::__construct |
function |
core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php |
Constructs an Entity object. |
| ResponsiveImageStyleConfigEntityUnitTest |
class |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
Tests Drupal\responsive_image\Entity\ResponsiveImageStyle. |
| ResponsiveImageStyleConfigEntityUnitTest.php |
file |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
|
| ResponsiveImageStyleConfigEntityUnitTest::$breakpointManager |
property |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
The breakpoint manager used for testing. |
| ResponsiveImageStyleConfigEntityUnitTest::$entityType |
property |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
The entity type used for testing. |
| ResponsiveImageStyleConfigEntityUnitTest::$entityTypeManager |
property |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
The entity type manager used for testing. |
| ResponsiveImageStyleConfigEntityUnitTest::setUp |
function |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
|
| ResponsiveImageStyleConfigEntityUnitTest::testCalculateDependencies |
function |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
Tests calculate dependencies. |
| ResponsiveImageStyleConfigEntityUnitTest::testGetImageStyleMapping |
function |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
Tests get image style mapping. |
| ResponsiveImageStyleConfigEntityUnitTest::testGetImageStyleMappings |
function |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
Tests get image style mappings. |
| ResponsiveImageStyleConfigEntityUnitTest::testGetKeyedImageStyleMappings |
function |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
Tests get keyed image style mappings. |
| ResponsiveImageStyleConfigEntityUnitTest::testHasImageStyleMappings |
function |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
Tests has image style mappings. |
| ResponsiveImageStyleConfigEntityUnitTest::testRemoveImageStyleMappings |
function |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
Tests remove image style mappings. |
| ResponsiveImageStyleConfigEntityUnitTest::testSetBreakpointGroup |
function |
core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php |
Tests set breakpoint group. |
| ResponsiveImageStyleForm |
class |
core/modules/responsive_image/src/ResponsiveImageStyleForm.php |
Form controller for the responsive image edit/add forms. |
| ResponsiveImageStyleForm.php |
file |
core/modules/responsive_image/src/ResponsiveImageStyleForm.php |
|
| ResponsiveImageStyleForm::$breakpointManager |
property |
core/modules/responsive_image/src/ResponsiveImageStyleForm.php |
The breakpoint manager. |
| ResponsiveImageStyleForm::breakpointMappingFormAjax |
function |
core/modules/responsive_image/src/ResponsiveImageStyleForm.php |
Get the form for mapping breakpoints to image styles. |
| ResponsiveImageStyleForm::create |
function |
core/modules/responsive_image/src/ResponsiveImageStyleForm.php |
Instantiates a new instance of this class. |
| ResponsiveImageStyleForm::form |
function |
core/modules/responsive_image/src/ResponsiveImageStyleForm.php |
Overrides Drupal\Core\Entity\EntityForm::form(). |
| ResponsiveImageStyleForm::save |
function |
core/modules/responsive_image/src/ResponsiveImageStyleForm.php |
Form submission handler for the 'save' action. |
| ResponsiveImageStyleForm::validateForm |
function |
core/modules/responsive_image/src/ResponsiveImageStyleForm.php |
Form validation handler. |
| ResponsiveImageStyleForm::__construct |
function |
core/modules/responsive_image/src/ResponsiveImageStyleForm.php |
Constructs the responsive image style form. |
| ResponsiveImageStyleInterface |
interface |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Provides an interface defining a responsive_image mapping entity. |
| ResponsiveImageStyleInterface.php |
file |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
|
| ResponsiveImageStyleInterface::addImageStyleMapping |
function |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Adds an image style mapping to the responsive image configuration entity. |
| ResponsiveImageStyleInterface::EMPTY_IMAGE |
constant |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
The machine name for the empty image breakpoint image style option. |
| ResponsiveImageStyleInterface::getBreakpointGroup |
function |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Returns the breakpoint group for the responsive image style. |
| ResponsiveImageStyleInterface::getFallbackImageStyle |
function |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Returns the fallback image style ID for the responsive image style. |
| ResponsiveImageStyleInterface::getImageStyleIds |
function |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Gets all the image styles IDs involved in the responsive image mapping. |
| ResponsiveImageStyleInterface::getImageStyleMapping |
function |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Gets the image style mapping for a breakpoint ID and multiplier. |
| ResponsiveImageStyleInterface::getImageStyleMappings |
function |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Returns the image style mappings for the responsive image style. |
| ResponsiveImageStyleInterface::getKeyedImageStyleMappings |
function |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Returns the mappings of breakpoint ID and multiplier to image style. |
| ResponsiveImageStyleInterface::hasImageStyleMappings |
function |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Checks if there is at least one mapping defined. |
| ResponsiveImageStyleInterface::isEmptyImageStyleMapping |
function |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
Checks if there is at least one image style mapping defined. |
| ResponsiveImageStyleInterface::ORIGINAL_IMAGE |
constant |
core/modules/responsive_image/src/ResponsiveImageStyleInterface.php |
The machine name for the original image breakpoint image style option. |