template_preprocess_book_navigation

template_preprocess_book_navigation(&$variables) Prepares variables for book navigation templates. Default template: book-navigation.html.twig. Parameters array $variables: An associative array containing the following key: book_link: An associative array of book link properties. Properties used: bid, link_title, depth, pid, nid. File core/modules/book/book.module, line 388 Allows users to create and organize related content in an outline. Code function template_preprocess_book_naviga

template_preprocess_block

template_preprocess_block(&$variables) Prepares variables for block templates. Default template: block.html.twig. Prepares the values passed to the theme_block function to be passed into a pluggable template engine. Uses block properties to generate a series of template file suggestions. If none are found, the default block.html.twig is used. Most themes use their own copy of block.html.twig. The default is located inside "core/modules/block/templates/block.html.twig". Look in there for the

telephone_field_formatter_info_alter

telephone_field_formatter_info_alter(&$info) Implements hook_field_formatter_info_alter(). File core/modules/telephone/telephone.module, line 33 Defines a simple telephone number field type. Code function telephone_field_formatter_info_alter(&$info) { $info['string']['field_types'][] = 'telephone'; }

telephone_help

telephone_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/telephone/telephone.module, line 13 Defines a simple telephone number field type. Code function telephone_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.telephone': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Telephone module allows you to create fields that contain

template_preprocess_aggregator_item

template_preprocess_aggregator_item(&$variables) Prepares variables for aggregator item templates. Default template: aggregator-item.html.twig. Parameters array $variables: An associative array containing: elements: An array of elements to display in view mode. File core/modules/aggregator/aggregator.theme.inc, line 20 Preprocessors and theme functions of Aggregator module. Code function template_preprocess_aggregator_item(&$variables) { $item = $variables['elements']['#aggregat

template_preprocess_aggregator_feed

template_preprocess_aggregator_feed(&$variables) Prepares variables for aggregator feed templates. Default template: aggregator-feed.html.twig. Parameters array $variables: An associative array containing: elements: An array of elements to display in view mode. File core/modules/aggregator/aggregator.theme.inc, line 41 Preprocessors and theme functions of Aggregator module. Code function template_preprocess_aggregator_feed(&$variables) { $feed = $variables['elements']['#aggregat

template_preprocess

template_preprocess(&$variables, $hook, $info) Adds a default set of helper variables for preprocessors and templates. This function is called for theme hooks implemented as templates only, not for theme hooks implemented as functions. This preprocess function is the first in the sequence of preprocessing functions that are called when preparing variables for a template. See the Default theme implementations topic for details. File core/includes/theme.inc, line 1196 The theme system, which

template_preprocess_admin_block_content

template_preprocess_admin_block_content(&$variables) Prepares variables for administrative content block templates. Default template: admin-block-content.html.twig. Parameters $variables: An associative array containing: content: An array containing information about the block. Each element of the array represents an administrative menu item, and must at least contain the keys 'title', 'link_path', and 'localized_options', which are passed to l(). A 'description' key may also be provided.

template_preprocess_admin_page

template_preprocess_admin_page(&$variables) Prepares variables for administrative index page templates. Default template: admin-page.html.twig. Parameters $variables: An associative array containing: blocks: An array of blocks to display. Each array should include a 'title', a 'description', a formatted 'content' and a 'position' which will control which container it will be in. This is usually 'left' or 'right'. File core/modules/system/system.admin.inc, line 51 Admin page callbacks fo

Tel::getInfo

public Tel::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Tel.php, line 30 Class Tel Provides a form element for entering a telephone number. Namespace Drupal\Core\Render\Element Code public fun