diff options
Diffstat (limited to 'themes/kalpesh/acadmix_subtheme/templates/views-view-field.html.twig')
-rwxr-xr-x | themes/kalpesh/acadmix_subtheme/templates/views-view-field.html.twig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/themes/kalpesh/acadmix_subtheme/templates/views-view-field.html.twig b/themes/kalpesh/acadmix_subtheme/templates/views-view-field.html.twig new file mode 100755 index 0000000..a70a55f --- /dev/null +++ b/themes/kalpesh/acadmix_subtheme/templates/views-view-field.html.twig @@ -0,0 +1,24 @@ +{# +/** + * @file + * Default theme implementation for a single field in a view. + * + * Available variables: + * - view: The view that the field belongs to. + * - field: The field handler that can process the input. + * - row: The raw result of the database query that generated this field. + * - output: The processed output that will normally be used. + * + * When fetching output from the row this construct should be used: + * data = row[field.field_alias] + * + * The above will guarantee that you'll always get the correct data, regardless + * of any changes in the aliasing that might happen if the view is modified. + * + * @see template_preprocess_views_view_field() + * + * @ingroup themeable + */ +#} + +{{ output -}} |