initializeView example


  protected function getDisplayExecutionResults(string $match = NULL, string $match_operator = 'CONTAINS', int $limit = 0, array $ids = NULL) {
    $display_name = $this->getConfiguration()['view']['display_name'];
    $arguments = $this->getConfiguration()['view']['arguments'];
    $results = [];
    if ($this->initializeView($match$match_operator$limit$ids)) {
      $results = $this->view->executeDisplay($display_name$arguments);
    }
    return $results;
  }

  /** * Strips all admin and anchor tags from a result list. * * These results are usually displayed in an autocomplete field, which is * surrounded by anchor tags. Most tags are allowed inside anchor tags, except * for other anchor tags. * * @param array $results * The result list. * * @return array * The provided result list with anchor tags removed. */
Home | Imprint | This part of the site doesn't use cookies.