function UserSearch::execute
Same name and namespace in other branches
- 11.x core/modules/user/src/Plugin/Search/UserSearch.php \Drupal\user\Plugin\Search\UserSearch::execute()
- 10 core/modules/user/src/Plugin/Search/UserSearch.php \Drupal\user\Plugin\Search\UserSearch::execute()
- 9 core/modules/user/src/Plugin/Search/UserSearch.php \Drupal\user\Plugin\Search\UserSearch::execute()
- 8.9.x core/modules/user/src/Plugin/Search/UserSearch.php \Drupal\user\Plugin\Search\UserSearch::execute()
Executes the search.
Return value
array A structured list of search results.
Overrides SearchInterface::execute
File
-
core/
modules/ user/ src/ Plugin/ Search/ UserSearch.php, line 112
Class
- UserSearch
- Executes a keyword search for users against the {users} database table.
Namespace
Drupal\user\Plugin\SearchCode
public function execute() : array {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.