Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function title_query()
 {
     $entities = $this->roleStorage->loadMultiple($this->value);
     $titles = array();
     foreach ($entities as $entity) {
         $titles[] = SafeMarkup::checkPlain($entity->label());
     }
     return $titles;
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function titleQuery()
 {
     $entities = $this->roleStorage->loadMultiple($this->value);
     $titles = array();
     foreach ($entities as $entity) {
         $titles[] = $entity->label();
     }
     return $titles;
 }