commit 8434ca412dba7dba08e9bfa82950433891a27ac1 Author: Joel Pittet Date: Sun Apr 7 20:09:01 2013 -0700 add two test tpl.php to twig conversions diff --git a/core/modules/layout/tests/layouts/static/one-col/one-col.html.twig b/core/modules/layout/tests/layouts/static/one-col/one-col.html.twig new file mode 100644 index 0000000..f4ef22d --- /dev/null +++ b/core/modules/layout/tests/layouts/static/one-col/one-col.html.twig @@ -0,0 +1,20 @@ +{# +/** + * @file + * Template for a one column layout. + * + * This template provides a very simple "one column" display layout. + * + * Avaiable variables: + * - content: An array of content, each item in the array is keyed to one + * region of the layout. This layout supports the following sections: + * - content.middle: The only region in the layout. + * + * @ingroup themeable + */ +#} +
+
+
{{ content.middle }}
+
+
diff --git a/core/modules/layout/tests/layouts/static/one-col/one-col.tpl.php b/core/modules/layout/tests/layouts/static/one-col/one-col.tpl.php deleted file mode 100644 index e47f83e..0000000 --- a/core/modules/layout/tests/layouts/static/one-col/one-col.tpl.php +++ /dev/null @@ -1,18 +0,0 @@ - -
-
-
-
-
diff --git a/core/modules/layout/tests/themes/layout_test_theme/layouts/static/two-col/two-col.html.twig b/core/modules/layout/tests/themes/layout_test_theme/layouts/static/two-col/two-col.html.twig new file mode 100644 index 0000000..52b4e1e --- /dev/null +++ b/core/modules/layout/tests/themes/layout_test_theme/layouts/static/two-col/two-col.html.twig @@ -0,0 +1,26 @@ +{# +/** + * @file + * Template for a 2 column layout. + * + * This template provides a two column display layout, with each column equal in + * width. + * + * Available variables: + * - content: An array of content, each item in the array is keyed to one + * region of the layout. This layout supports the following sections: + * - content.left: Content in the left column. + * - content.right: Content in the right column. + * + * @ingroup: themeable + */ +#} +
+
+
{{ content.left }}
+
+ +
+
{{ content.right }}
+
+
diff --git a/core/modules/layout/tests/themes/layout_test_theme/layouts/static/two-col/two-col.tpl.php b/core/modules/layout/tests/themes/layout_test_theme/layouts/static/two-col/two-col.tpl.php deleted file mode 100644 index 1d8dbe4..0000000 --- a/core/modules/layout/tests/themes/layout_test_theme/layouts/static/two-col/two-col.tpl.php +++ /dev/null @@ -1,24 +0,0 @@ - -
-
-
-
- -
-
-
-