public function title_query() { $entities = $this->roleStorageController ->load($this->value); $titles = array(); foreach ($entities as $entity) { $titles[] = String::checkPlain($entity ->label()); } return $titles; }