Update to Drupal 8.2.6. For more information, see https://www.drupal.org/project/drupal/releases/8.2.6

This commit is contained in:
Pantheon Automation 2017-02-02 16:28:38 -08:00 committed by Greg Anderson
parent db56c09587
commit f1e72395cb
588 changed files with 26857 additions and 2777 deletions

View file

@ -21,8 +21,6 @@ use Symfony\Component\DependencyInjection\Exception\LogicException;
class FrozenParameterBag extends ParameterBag
{
/**
* Constructor.
*
* For performance reasons, the constructor assumes that
* all keys are already lowercased.
*

View file

@ -26,8 +26,6 @@ class ParameterBag implements ParameterBagInterface
protected $resolved = false;
/**
* Constructor.
*
* @param array $parameters An array of parameters
*/
public function __construct(array $parameters = array())
@ -56,9 +54,7 @@ class ParameterBag implements ParameterBagInterface
}
/**
* Gets the service container parameters.
*
* @return array An array of parameters
* {@inheritdoc}
*/
public function all()
{
@ -66,13 +62,7 @@ class ParameterBag implements ParameterBagInterface
}
/**
* Gets a service container parameter.
*
* @param string $name The parameter name
*
* @return mixed The parameter value
*
* @throws ParameterNotFoundException if the parameter is not defined
* {@inheritdoc}
*/
public function get($name)
{
@ -109,11 +99,7 @@ class ParameterBag implements ParameterBagInterface
}
/**
* Returns true if a parameter name is defined.
*
* @param string $name The parameter name
*
* @return bool true if the parameter name is defined, false otherwise
* {@inheritdoc}
*/
public function has($name)
{
@ -131,7 +117,7 @@ class ParameterBag implements ParameterBagInterface
}
/**
* Replaces parameter placeholders (%name%) by their values for all parameters.
* {@inheritdoc}
*/
public function resolve()
{
@ -266,6 +252,9 @@ class ParameterBag implements ParameterBagInterface
return $value;
}
/**
* {@inheritdoc}
*/
public function unescapeValue($value)
{
if (is_string($value)) {