commit 12f1ad0ab4fabe6b0fcf1590486dbe8f0adb00f2 Author: Joel Pittet Date: Wed Apr 24 21:50:42 2013 -0700 updating docs and removing dsm diff --git a/core/modules/views/views_ui/templates/views-ui-container.html.twig b/core/modules/views/views_ui/templates/views-ui-container.html.twig index 98bc5fb..88015b8 100644 --- a/core/modules/views/views_ui/templates/views-ui-container.html.twig +++ b/core/modules/views/views_ui/templates/views-ui-container.html.twig @@ -1,11 +1,11 @@ {# /** * @file - * Default theme implementation for a generic container/wrapper. + * Default theme implementation for a generic Views UI container/wrapper. * * Available variables: - * - attributes: An array of HTML attributes to apply to the container element. - * - children: An array of renderable elements such as dropbuttons and tabs. + * - attributes: HTML attributes to apply to the container element. + * - children: The remaining elements such as dropbuttons and tabs. * * @see template_preprocess() * @see template_preprocess_views_ui_container() diff --git a/core/modules/views/views_ui/views_ui.theme.inc b/core/modules/views/views_ui/views_ui.theme.inc index 7834457..950bd5a 100644 --- a/core/modules/views/views_ui/views_ui.theme.inc +++ b/core/modules/views/views_ui/views_ui.theme.inc @@ -8,9 +8,14 @@ use Drupal\Core\Template\Attribute; /** - * Prepares variables for Views UI containers. + * Prepares variables for Views UI container templates. * * Default template: views-ui-container.html.twig. + * + * @param array $variables + * An associative array containing: + * - element: An associative array containing the properties of the element. + * Properties used: #attributes, #children. */ function template_preprocess_views_ui_container(&$variables) { $variables['attributes'] = new Attribute($variables['element']['#attributes']);