Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2
This commit is contained in:
parent
9eae24d844
commit
28556d630e
1322 changed files with 6699 additions and 2064 deletions
|
|
@ -78,4 +78,5 @@ class XmlEncoder implements EncoderInterface, DecoderInterface {
|
|||
public function supportsDecoding($format) {
|
||||
return in_array($format, static::$format);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,4 +88,5 @@ class EntityNormalizer extends ComplexDataNormalizer implements DenormalizerInte
|
|||
|
||||
return $entity;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,4 +58,5 @@ class RegisterEntityResolversCompilerPass implements CompilerPassInterface {
|
|||
|
||||
return $sorted;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,4 +71,5 @@ class RegisterSerializationClassesCompilerPass implements CompilerPassInterface
|
|||
|
||||
return $sorted;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,4 +19,5 @@ class SerializationServiceProvider implements ServiceProviderInterface {
|
|||
// Add a compiler pass for adding concrete Resolvers to chain Resolver.
|
||||
$container->addCompilerPass(new RegisterEntityResolversCompilerPass());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -222,4 +222,5 @@ class EntitySerializationTest extends NormalizerTestBase {
|
|||
$this->assertIdentical($denormalized->uuid(), $this->entity->uuid(), 'Expected entity UUID found.');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue