diff --git a/core/modules/text/lib/Drupal/text/TextProcessed.php b/core/modules/text/lib/Drupal/text/TextProcessed.php index a00497a..bb6958d 100644 --- a/core/modules/text/lib/Drupal/text/TextProcessed.php +++ b/core/modules/text/lib/Drupal/text/TextProcessed.php @@ -9,7 +9,6 @@ use Drupal\Core\TypedData\TypedDataInterface; use Drupal\Core\TypedData\TypedData; -use Drupal\Core\TypedData\TypedDataManager; use Drupal\Core\TypedData\ReadOnlyException; use InvalidArgumentException; @@ -31,8 +30,8 @@ class TextProcessed extends TypedData { /** * {@inheritdoc} */ - public function __construct(array $definition, $name = NULL, TypedDataInterface $parent = NULL, TypedDataManager $typed_data_manager) { - parent::__construct($definition, $name, $parent, $parent, $typed_data_manager); + public function __construct(array $definition, $name = NULL, TypedDataInterface $parent = NULL) { + parent::__construct($definition, $name, $parent, $parent, NULL); if (!isset($definition['settings']['text source'])) { throw new InvalidArgumentException("The definition's 'source' key has to specify the name of the text property to be processed.");