DefaultStyle.php

Same filename in other branches
  1. 9 core/modules/views/src/Plugin/views/style/DefaultStyle.php
  2. 8.9.x core/modules/views/src/Plugin/views/style/DefaultStyle.php
  3. 10 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;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\views\Attribute\ViewsStyle;

/**
 * Unformatted style plugin to render rows.
 *
 * Row are rendered one after another with no decorations.
 *
 * @ingroup views_style_plugins
 */
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.