UserSearch::$database
Same name in other branches
- 9 core/modules/user/src/Plugin/Search/UserSearch.php \Drupal\user\Plugin\Search\UserSearch::database
- 10 core/modules/user/src/Plugin/Search/UserSearch.php \Drupal\user\Plugin\Search\UserSearch::database
- 11.x core/modules/user/src/Plugin/Search/UserSearch.php \Drupal\user\Plugin\Search\UserSearch::database
The database connection.
Type: \Drupal\Core\Database\Connection
File
-
core/
modules/ user/ src/ Plugin/ Search/ UserSearch.php, line 36
Class
- UserSearch
- Executes a keyword search for users against the {users} database table.
Namespace
Drupal\user\Plugin\SearchCode
protected $database;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.