UserRow.php

Contains \Drupal\user\Plugin\views\row\UserRow.

Namespace

Drupal\user\Plugin\views\row

File

drupal/core/modules/user/lib/Drupal/user/Plugin/views/row/UserRow.php
View source
<?php

/**
 * @file
 * Contains \Drupal\user\Plugin\views\row\UserRow.
 */
namespace Drupal\user\Plugin\views\row;

use Drupal\views\Plugin\views\row\EntityRow;

/**
 * A row plugin which renders a user.
 *
 * @ingroup views_row_plugins
 */
class UserRow extends EntityRow {

  /**
   * {@inheritdoc}
   */
  protected function defineOptions() {
    $options = parent::defineOptions();
    $options['view_mode']['default'] = 'full';
    return $options;
  }

}

Classes

Namesort descending Description
UserRow A row plugin which renders a user.