template_preprocess_filter_guidelines(&$variables)
Prepares variables for text format guideline templates.
Default template: filter-guidelines.html.twig.
array $variables: An associative array containing:
function template_preprocess_filter_guidelines(&$variables) { $format = $variables['format']; $variables['tips'] = array( '#theme' => 'filter_tips', '#tips' => _filter_tips($format->id(), FALSE), ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!filter!filter.module/function/template_preprocess_filter_guidelines/8.1.x