You are here

public function QueryEntity::getProcessedAttributes in Lightweight Directory Access Protocol (LDAP) 8.3

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

Returns all processed attributes.

Return value

array Processed attributes.

File

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

Class

QueryEntity
Defines the LDAP Queries entity.

Namespace

Drupal\ldap_query\Entity

Code

public function getProcessedAttributes() {
  if (!empty($this->attributes)) {
    return explode(',', $this->attributes);
  }
  else {
    return [];
  }
}