You are here

DefaultStyle.php in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/views/src/Plugin/views/style/DefaultStyle.php

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 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

Namesort descending Description
DefaultStyle Unformatted style plugin to render rows one after another with no decorations.