IMAGE_DERIVATIVE_TOKEN

Same name in other branches
  1. 7.x modules/image/image.module \IMAGE_DERIVATIVE_TOKEN
  2. 9 core/modules/image/image.module \IMAGE_DERIVATIVE_TOKEN
  3. 10 core/modules/image/image.module \IMAGE_DERIVATIVE_TOKEN
  4. 11.x 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

Code

define('IMAGE_DERIVATIVE_TOKEN', 'itok');

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.