GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Student/JimMartinson/Lab12/drupal/core/modules/image/ |
Upload File : |
<?php /** * @file * Hooks related to image styles and effects. */ /** * @addtogroup hooks * @{ */ /** * Alter the information provided in \Drupal\image\Annotation\ImageEffect. * * @param $effects * The array of image effects, keyed on the machine-readable effect name. */ function hook_image_effect_info_alter(&$effects) { // Override the Image module's 'Scale and Crop' effect label. $effects['image_scale_and_crop']['label'] = t('Bangers and Mash'); } /** * Respond to image style flushing. * * This hook enables modules to take effect when a style is being flushed (all * images are being deleted from the server and regenerated). Any * module-specific caches that contain information related to the style should * be cleared using this hook. This hook is called whenever a style is updated, * deleted, or any effect associated with the style is update or deleted. * * @param \Drupal\image\ImageStyleInterface $style * The image style object that is being flushed. */ function hook_image_style_flush($style) { // Empty cached data that contains information about the style. \Drupal::cache('mymodule')->deleteAll(); } /** * @} End of "addtogroup hooks". */