You are here

constant IMAGE_DERIVATIVE_TOKEN in Drupal 8

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

The name of the query parameter for image derivative tokens.

2 uses of IMAGE_DERIVATIVE_TOKEN
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 66
Exposes global functionality for creating image styles.

Code

define('IMAGE_DERIVATIVE_TOKEN', 'itok');