Same name and namespace in other branches
  1. 7.x modules/image/image.module \IMAGE_DERIVATIVE_TOKEN
  2. 8.9.x core/modules/image/image.module \IMAGE_DERIVATIVE_TOKEN
  3. 9 core/modules/image/image.module \IMAGE_DERIVATIVE_TOKEN

The name of the query parameter for image derivative tokens.

3 uses of IMAGE_DERIVATIVE_TOKEN
ImageStyle::buildUrl in core/modules/image/src/Entity/ImageStyle.php
Returns the URL of this image derivative for an original image path or URI.
ImageStyleDownloadController::deliver in core/modules/image/src/Controller/ImageStyleDownloadController.php
Generates a derivative, given a style and image path.
ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php
Tests building an image style URL.

File

core/modules/image/image.module, line 21
Exposes global functionality for creating image styles.

Code

define('IMAGE_DERIVATIVE_TOKEN', 'itok');