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