Function Hook_search_wiki_posts->get_fields

Definitions

sources/hooks/modules/search/wiki_posts.php

  • Get a list of extra fields to ask for.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Returns

  • A list of maps specifying extra fields (null: no tree)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a list of extra fields to ask for.
 *
 * @return ?array A list of maps specifying extra fields (null: no tree)
 */

public function get_fields() : ?array