Function Hook_config_forum_in_portal->postsave_handler

Definitions

sources/hooks/systems/config/forum_in_portal.php

  • Code to run after the option is saved, if the value was changed or we are not formally setting it.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$new_value string No No required parameter N/A N/A The new value

Preview

Code (PHP)

/**
 * Code to run after the option is saved, if the value was changed or we are not formally setting it.
 *
 * @param  string $new_value The new value
 */

public function postsave_handler(string $new_value)