DefaultStyle.php

Same filename in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/style/DefaultStyle.php
  2. 10 core/modules/views/src/Plugin/views/style/DefaultStyle.php
  3. 11.x core/modules/views/src/Plugin/views/style/DefaultStyle.php

Namespace

Drupal\views\Plugin\views\style

File

core/modules/views/src/Plugin/views/style/DefaultStyle.php

View source
<?php

namespace Drupal\views\Plugin\views\style;


/**
 * Unformatted style plugin to render rows.
 *
 * Row are rendered one after another with no decorations.
 *
 * @ingroup views_style_plugins
 *
 * @ViewsStyle(
 *   id = "default",
 *   title = @Translation("Unformatted list"),
 *   help = @Translation("Displays rows one after another."),
 *   theme = "views_view_unformatted",
 *   display_types = {"normal"}
 * )
 */
class DefaultStyle extends StylePluginBase {
    
    /**
     * {@inheritdoc}
     */
    protected $usesRowPlugin = TRUE;
    
    /**
     * Does the style plugin support custom css class for the rows.
     *
     * @var bool
     */
    protected $usesRowClass = TRUE;

}

Classes

Title Deprecated Summary
DefaultStyle Unformatted style plugin to render rows.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.