Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078
This commit is contained in:
parent
6419a031d7
commit
4afb23bbd3
762 changed files with 20080 additions and 6368 deletions
|
@ -101,11 +101,11 @@ class EntityConverter implements ParamConverterInterface {
|
|||
* @param array $defaults
|
||||
* The route defaults array.
|
||||
*
|
||||
* @throws \Drupal\Core\ParamConverter\ParamNotConvertedException
|
||||
* Thrown when the dynamic entity type is not found in the route defaults.
|
||||
*
|
||||
* @return string
|
||||
* The entity type ID.
|
||||
*
|
||||
* @throws \Drupal\Core\ParamConverter\ParamNotConvertedException
|
||||
* Thrown when the dynamic entity type is not found in the route defaults.
|
||||
*/
|
||||
protected function getEntityTypeFromDefaults($definition, $name, array $defaults) {
|
||||
$entity_type_id = substr($definition['type'], strlen('entity:'));
|
||||
|
|
|
@ -54,12 +54,12 @@ interface ParamConverterManagerInterface {
|
|||
* @param array $defaults
|
||||
* The route defaults array.
|
||||
*
|
||||
* @return array
|
||||
* The modified defaults.
|
||||
*
|
||||
* @throws \Drupal\Core\ParamConverter\ParamNotConvertedException
|
||||
* If one of the assigned converters returned NULL because the given
|
||||
* variable could not be converted.
|
||||
*
|
||||
* @return array
|
||||
* The modified defaults.
|
||||
*/
|
||||
public function convert(array $defaults);
|
||||
|
||||
|
|
Reference in a new issue