You are here

public static function RestfulManager::pluginProcessAuthentication in RESTful 7

Add defaults values to the restful related plugins.

Properties for the "authentication" plugin type:

  • description: The description of the event. Defaults to an empty string.
  • name: The name of the event.
  • class: Name of the class implementing RestfulRateLimitInterface.

File

includes/RestfulManager.php, line 182
Contains \RestfulManager.

Class

RestfulManager
@file Contains \RestfulManager.

Code

public static function pluginProcessAuthentication($plugin, $info) {
  $plugin += array(
    'settings' => array(),
  );
  return $plugin;
}