diff --git a/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php b/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php index 4e7f32d..8077a69 100644 --- a/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php @@ -251,7 +251,7 @@ public function testDisplayAreas() { // Assert that the expected text is found in each area category. foreach ($areas as $type => $class) { $element = $this->xpath('//div[contains(@class, :class)]/div', array(':class' => $class)); - $this->assertEqual((string) $element[0], "The selected display type does not utilize $type plugins"); + $this->assertEqual((string) $element[0], t('The selected display type does not utilize @type plugins', array('@type' => $type))); } } 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 new file mode 100644 index 0000000..7d8140f --- /dev/null +++ b/core/modules/views/views_ui/templates/views-ui-container.html.twig @@ -0,0 +1,17 @@ +{# +/** + * @file + * Default theme implementation for a generic container/wrapper. + * + * @param array $variables + * An associative array containing: + * - element: An associative array containing the properties of the element. + * Properties used: #attributes, #children. + * + * @see template_preprocess() + * @see template_preprocess_views_ui_container() + * + * @ingroup themeable + */ +#} +