Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078

This commit is contained in:
Pantheon Automation 2015-11-04 11:11:27 -08:00 committed by Greg Anderson
parent 6419a031d7
commit 4afb23bbd3
762 changed files with 20080 additions and 6368 deletions

View file

@ -57,28 +57,28 @@ class XmlEncoder implements EncoderInterface, DecoderInterface {
}
/**
* Implements \Symfony\Component\Serializer\Encoder\EncoderInterface::encode().
* {@inheritdoc}
*/
public function encode($data, $format, array $context = array()){
return $this->getBaseEncoder()->encode($data, $format, $context);
}
/**
* Implements \Symfony\Component\Serializer\Encoder\JsonEncoder::supportsEncoding().
* {@inheritdoc}
*/
public function supportsEncoding($format) {
return in_array($format, static::$format);
}
/**
* Implements \Symfony\Component\Serializer\Encoder\EncoderInterface::decode().
* {@inheritdoc}
*/
public function decode($data, $format, array $context = array()){
return $this->getBaseEncoder()->decode($data, $format, $context);
}
/**
* Implements \Symfony\Component\Serializer\Encoder\JsonEncoder::supportsDecoding().
* {@inheritdoc}
*/
public function supportsDecoding($format) {
return in_array($format, static::$format);

View file

@ -27,7 +27,7 @@ class ComplexDataNormalizer extends NormalizerBase {
protected $supportedInterfaceOrClass = 'Drupal\Core\TypedData\ComplexDataInterface';
/**
* Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
* {@inheritdoc}
*/
public function normalize($object, $format = NULL, array $context = array()) {
$attributes = array();

View file

@ -2,7 +2,7 @@
/**
* @file
* Contains \Drupal\serialization\Normalizer\FileFieldItemNormalizer.
* Contains \Drupal\serialization\Normalizer\EntityReferenceFieldItemNormalizer.
*/
namespace Drupal\serialization\Normalizer;

View file

@ -26,7 +26,7 @@ class ListNormalizer extends NormalizerBase {
protected $supportedInterfaceOrClass = 'Drupal\Core\TypedData\ListInterface';
/**
* Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
* {@inheritdoc}
*/
public function normalize($object, $format = NULL, array $context = array()) {
$attributes = array();

View file

@ -20,7 +20,7 @@ class TypedDataNormalizer extends NormalizerBase {
protected $supportedInterfaceOrClass = 'Drupal\Core\TypedData\TypedDataInterface';
/**
* Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
* {@inheritdoc}
*/
public function normalize($object, $format = NULL, array $context = array()) {
return $object->getValue();

View file

@ -19,7 +19,7 @@ class SerializationTestEncoder implements EncoderInterface {
static protected $format = 'serialization_test';
/**
* Implements \Symfony\Component\Serializer\Encoder\EncoderInterface::encode().
* {@inheritdoc}
*/
public function encode($data, $format, array $context = array()) {
// @see \Drupal\serialization_test\SerializationTestNormalizer::normalize().
@ -27,7 +27,7 @@ class SerializationTestEncoder implements EncoderInterface {
}
/**
* Implements \Symfony\Component\Serializer\Encoder\EncoderInterface::supportsEncoding().
* {@inheritdoc}
*/
public function supportsEncoding($format) {
return static::$format === $format;