You are here

public static function HttpServiceApiHandler::getOverridableProperties in HTTP Client Manager 8.2

Same name and namespace in other branches
  1. 8 src/HttpServiceApiHandler.php \Drupal\http_client_manager\HttpServiceApiHandler::getOverridableProperties()

Get overridable Service API properties.

Return value

array An associative array where keys are overridable property names and values are boolean indicating if the property is required or not.

3 calls to HttpServiceApiHandler::getOverridableProperties()
HttpServiceApiHandler::overrideServiceApiDefinition in src/HttpServiceApiHandler.php
Override Service API definition.
HttpServiceApiHandler::validateServiceApiDefinition in src/HttpServiceApiHandler.php
Validates Service api definition.
http_client_manager_help in ./http_client_manager.module
Implements hook_help().

File

src/HttpServiceApiHandler.php, line 255

Class

HttpServiceApiHandler
Class HttpServiceApiHandler.

Namespace

Drupal\http_client_manager

Code

public static function getOverridableProperties() {
  return [
    'title' => self::REQUIRED_PROPERTY,
    'api_path' => self::REQUIRED_PROPERTY,
    'config' => self::REQUIRED_PROPERTY,
    'commands' => !self::REQUIRED_PROPERTY,
  ];
}