ImageFormatter::__construct |
function |
core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php |
Constructs an ImageFormatter object. |
ImageFormatterBase |
class |
core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatterBase.php |
Base class for image file formatters. |
ImageFormatterBase.php |
file |
core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatterBase.php |
|
ImageFormatterBase::getEntitiesToView |
function |
core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatterBase.php |
|
ImageFormatterTest |
class |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
Tests the image field rendering using entity fields of the image field type. |
ImageFormatterTest.php |
file |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
|
ImageFormatterTest::$bundle |
property |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
|
ImageFormatterTest::$display |
property |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
|
ImageFormatterTest::$entityType |
property |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
|
ImageFormatterTest::$fieldName |
property |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
|
ImageFormatterTest::$modules |
property |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
Modules to install. |
ImageFormatterTest::assertCacheTags |
function |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
Asserts that a renderable array has a set of cache tags. |
ImageFormatterTest::setUp |
function |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
Set the default field storage backend for fields created during tests. |
ImageFormatterTest::testImageFormatterCacheTags |
function |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
Tests the cache tags from image formatters. |
ImageFormatterTest::testImageFormatterSvg |
function |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
Tests ImageFormatter's handling of SVG images. |
ImageFormatterTest::testImageFormatterUrlOptions |
function |
core/modules/image/tests/src/Kernel/ImageFormatterTest.php |
Tests Image Formatter URL options handling. |
ImageHooks |
class |
core/modules/image/src/Hook/ImageHooks.php |
Hook implementations for image. |
ImageHooks.php |
file |
core/modules/image/src/Hook/ImageHooks.php |
|
ImageHooks::entityPresave |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_entity_presave(). |
ImageHooks::fieldConfigDelete |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_ENTITY_TYPE_delete() for 'field_config'. |
ImageHooks::fieldConfigUpdate |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_ENTITY_TYPE_update() for 'field_config'. |
ImageHooks::fieldStorageConfigDelete |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_ENTITY_TYPE_delete() for 'field_storage_config'. |
ImageHooks::fieldStorageConfigUpdate |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_ENTITY_TYPE_update() for 'field_storage_config'. |
ImageHooks::fileDownload |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_file_download(). |
ImageHooks::fileMove |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_file_move(). |
ImageHooks::filePredelete |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_ENTITY_TYPE_predelete() for file entities. |
ImageHooks::help |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_help(). |
ImageHooks::theme |
function |
core/modules/image/src/Hook/ImageHooks.php |
Implements hook_theme(). |
ImageImportTest |
class |
core/modules/image/tests/src/Kernel/ImageImportTest.php |
Tests config import for Image styles. |
ImageImportTest.php |
file |
core/modules/image/tests/src/Kernel/ImageImportTest.php |
|
ImageImportTest::$modules |
property |
core/modules/image/tests/src/Kernel/ImageImportTest.php |
Modules to install. |
ImageImportTest::testImport |
function |
core/modules/image/tests/src/Kernel/ImageImportTest.php |
Tests importing image styles. |
ImageInterface |
interface |
core/lib/Drupal/Core/Image/ImageInterface.php |
Provides an interface for image objects. |
ImageInterface.php |
file |
core/lib/Drupal/Core/Image/ImageInterface.php |
|
ImageInterface::apply |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Applies a toolkit operation to the image. |
ImageInterface::convert |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Converts an image to the format specified by the extension. |
ImageInterface::createNew |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Prepares a new image, without loading it from a file. |
ImageInterface::crop |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Crops an image to a rectangle specified by the given dimensions. |
ImageInterface::desaturate |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Converts an image to grayscale. |
ImageInterface::getFileSize |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the size of the image file. |
ImageInterface::getHeight |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the height of the image. |
ImageInterface::getMimeType |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the MIME type of the image file. |
ImageInterface::getSource |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Retrieves the source path of the image file. |
ImageInterface::getToolkit |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the image toolkit used for this image file. |
ImageInterface::getToolkitId |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the ID of the image toolkit used for this image file. |
ImageInterface::getWidth |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Returns the width of the image. |
ImageInterface::isValid |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Checks if the image is valid. |
ImageInterface::resize |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Resizes an image to the given dimensions (ignoring aspect ratio). |
ImageInterface::rotate |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Rotates an image by the given number of degrees. |
ImageInterface::save |
function |
core/lib/Drupal/Core/Image/ImageInterface.php |
Closes the image and saves the changes to a file. |