You are here

public function ReplicationTask::getParameter in Replication 8.2

Same name and namespace in other branches
  1. 8 src/ReplicationTask/ReplicationTask.php \Drupal\replication\ReplicationTask\ReplicationTask::getParameter()

Get a parameter's value.

Parameters

string $name: The parameter name.

Return value

mixed The parameter value.

Throws

\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException If the parameter is not defined.

Overrides ReplicationTaskInterface::getParameter

File

src/ReplicationTask/ReplicationTask.php, line 160

Class

ReplicationTask

Namespace

Drupal\replication\ReplicationTask

Code

public function getParameter($name) {
  return $this->parameters
    ->get($name);
}