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/contextual/ |
Upload File : |
<?php /** * @file * Hooks provided by Contextual module. */ /** * @addtogroup hooks * @{ */ /** * Alter a contextual links element before it is rendered. * * This hook is invoked by contextual_pre_render_links(). The renderable array * of #type 'contextual_links', containing the entire contextual links data that * is passed in by reference. Further links may be added or existing links can * be altered. * * @param $element * A renderable array representing the contextual links. * @param $items * An associative array containing the original contextual link items, as * generated by * \Drupal\Core\Menu\ContextualLinkManagerInterface::getContextualLinksArrayByGroup(), * which were used to build $element['#links']. * * @see hook_contextual_links_alter() * @see hook_contextual_links_plugins_alter() * @see contextual_pre_render_links() */ function hook_contextual_links_view_alter(&$element, $items) { // Add another class to all contextual link lists to facilitate custom // styling. $element['#attributes']['class'][] = 'custom-class'; } /** * @} End of "addtogroup hooks". */