SearchUser::$database

Same name and namespace in other branches
  1. main core/modules/search/modules/search_user/src/Plugin/Search/SearchUser.php \Drupal\search_user\Plugin\Search\SearchUser::database

The database connection.

Type: \Drupal\Core\Database\Connection

File

core/modules/search/modules/search_user/src/Plugin/Search/SearchUser.php, line 31

Class

SearchUser
Executes a keyword search for users against the {users} database table.

Namespace

Drupal\search_user\Plugin\Search

Code

protected $database;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.