public static function QueryController::getAllQueries in Lightweight Directory Access Protocol (LDAP) 8.3
Returns all available LDAP query entities.
Return value
\Drupal\Core\Entity\EntityInterface[] Entity Queries.
1 call to QueryController::getAllQueries()
- DebuggingReviewForm::buildForm in ldap_help/
src/ Form/ DebuggingReviewForm.php - Form constructor.
File
- ldap_query/
src/ Controller/ QueryController.php, line 115
Class
- QueryController
- Controller class for LDAP queries, in assistance to the entity itself.
Namespace
Drupal\ldap_query\ControllerCode
public static function getAllQueries() {
$query = \Drupal::entityQuery('ldap_query_entity');
$ids = $query
->execute();
return QueryEntity::loadMultiple($ids);
}