Function Hook_sw_wordfilter->get_fields

Definitions

sources/hooks/modules/admin_setupwizard/wordfilter.php

  • Run function for features in the setup wizard.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$field_defaults array No No required parameter N/A N/A Default values for the fields, from the install-profile

Returns

  • A pair: Input fields, Hidden fields
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Run function for features in the setup wizard.
 *
 * @param  array $field_defaults Default values for the fields, from the install-profile
 * @return array A pair: Input fields, Hidden fields
 */

public function get_fields(array $field_defaults) : array