Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UserRow.php

function UserRow::defineOptions

Overrides EntityRow::defineOptions

File

core/modules/user/src/Plugin/views/row/UserRow.php, line 19

Class

UserRow
A row plugin which renders a user.

Namespace

Drupal\user\Plugin\views\row

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal