diff --git a/core/lib/Drupal/Core/Controller/HtmlFormController.php b/core/lib/Drupal/Core/Controller/HtmlFormController.php index 8b3e70a..1b570b3 100644 --- a/core/lib/Drupal/Core/Controller/HtmlFormController.php +++ b/core/lib/Drupal/Core/Controller/HtmlFormController.php @@ -56,7 +56,7 @@ public function content(Request $request, $_form) { $form_state = array(); $request->attributes->set('form', array()); $request->attributes->set('form_state', $form_state); - $args = $this->container->get('controller_resolver')->getArguments($request, array($form_object, 'buildForm')); + $args = $this->container->get('controlFieldItemListler_resolver')->getArguments($request, array($form_object, 'buildForm')); $request->attributes->remove('form'); $request->attributes->remove('form_state'); diff --git a/core/lib/Drupal/Core/Entity/Field/FieldItemList.php b/core/lib/Drupal/Core/Entity/Field/FieldItemList.php index 8dca7b1..3ca0758 100644 --- a/core/lib/Drupal/Core/Entity/Field/FieldItemList.php +++ b/core/lib/Drupal/Core/Entity/Field/FieldItemList.php @@ -167,13 +167,6 @@ public function __get($property_name) { } /** - * Implements \Drupal\Core\Entity\Field\FieldItemListInterface::get(). - */ - public function get($property_name) { - return $this->first()->get($property_name); - } - - /** * Implements \Drupal\Core\Entity\Field\FieldItemListInterface::__set(). */ public function __set($property_name, $value) { diff --git a/core/lib/Drupal/Core/Entity/Field/FieldItemListInterface.php b/core/lib/Drupal/Core/Entity/Field/FieldItemListInterface.php index 300de8f..0bf8951 100644 --- a/core/lib/Drupal/Core/Entity/Field/FieldItemListInterface.php +++ b/core/lib/Drupal/Core/Entity/Field/FieldItemListInterface.php @@ -77,13 +77,6 @@ public function defaultAccess($operation = 'view', AccountInterface $account = N public function filterEmptyValues(); /** - * Gets a property object from the first field item. - * - * @see \Drupal\Core\Entity\Field\FieldItemInterface::get() - */ - public function get($property_name); - - /** * Magic method: Gets a property value of to the first field item. * * @see \Drupal\Core\Entity\Field\FieldItemInterface::__get()