You are here

public function QueryEntity::getProcessedBaseDns in Lightweight Directory Access Protocol (LDAP) 8.4

Same name and namespace in other branches
  1. 8.3 ldap_query/src/Entity/QueryEntity.php \Drupal\ldap_query\Entity\QueryEntity::getProcessedBaseDns()

Returns all base DN.

Return value

array Processed base DN

Overrides QueryEntityInterface::getProcessedBaseDns

File

ldap_query/src/Entity/QueryEntity.php, line 132

Class

QueryEntity
Defines the LDAP Queries entity.

Namespace

Drupal\ldap_query\Entity

Code

public function getProcessedBaseDns() : array {
  return explode("\r\n", $this->base_dn);
}