"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/views/templates/views-view-field.html.twig" (26 Nov 2020, 706 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {#
    2 /**
    3  * @file
    4  * Default theme implementation for a single field in a view.
    5  *
    6  * Available variables:
    7  * - view: The view that the field belongs to.
    8  * - field: The field handler that can process the input.
    9  * - row: The raw result of the database query that generated this field.
   10  * - output: The processed output that will normally be used.
   11  *
   12  * When fetching output from the row this construct should be used:
   13  * data = row[field.field_alias]
   14  *
   15  * The above will guarantee that you'll always get the correct data, regardless
   16  * of any changes in the aliasing that might happen if the view is modified.
   17  *
   18  * @see template_preprocess_views_view_field()
   19  *
   20  * @ingroup themeable
   21  */
   22 #}
   23 {{ output -}}