You are here

public function HttpConfigRequest::getParameters in HTTP Client Manager 8.2

Same name and namespace in other branches
  1. 8 src/Entity/HttpConfigRequest.php \Drupal\http_client_manager\Entity\HttpConfigRequest::getParameters()

Get configured command parameters.

Return value

array An array of parameters.

Overrides HttpConfigRequestInterface::getParameters

1 call to HttpConfigRequest::getParameters()
HttpConfigRequest::execute in src/Entity/HttpConfigRequest.php
Executes configured Http Request.

File

src/Entity/HttpConfigRequest.php, line 110

Class

HttpConfigRequest
Defines the Http Config Request entity.

Namespace

Drupal\http_client_manager\Entity

Code

public function getParameters() {
  $parameters = $this
    ->get('parameters');
  return !empty($parameters) ? array_filter($this
    ->get('parameters')) : [];
}