You are here

DefaultStyle.php in Views (for Drupal 7) 8.3

File

lib/Drupal/views/Plugin/views/style/DefaultStyle.php
View source
<?php

/**
 * @file
 * Definition of Drupal\views\Plugin\views\style\DefaultStyle.
 */
namespace Drupal\views\Plugin\views\style;

use Drupal\Core\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;

/**
 * Unformatted style plugin to render rows one after another with no
 * decorations.
 *
 * @ingroup views_style_plugins
 *
 * @Plugin(
 *   id = "default",
 *   title = @Translation("Unformatted list"),
 *   help = @Translation("Displays rows one after another."),
 *   theme = "views_view_unformatted",
 *   type = "normal"
 * )
 */
class DefaultStyle extends StylePluginBase {

  /**
   * Does the style plugin allows to use style plugins.
   *
   * @var bool
   */
  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.