Issue #3031492 by longwave, tedbow, Spokje: Remove @todo in InlineBlockEntityOperations constructor

(cherry picked from commit 304c01b5a6)
merge-requests/2460/head
catch 2022-06-30 22:42:15 +01:00
parent d02015fc4f
commit 358d7df666
1 changed files with 1 additions and 7 deletions

View File

@ -44,18 +44,12 @@ class InlineBlockEntityOperations implements ContainerInjectionInterface {
/** /**
* Constructs a new EntityOperations object. * Constructs a new EntityOperations object.
* *
* @todo This constructor has one optional parameter, $section_storage_manager
* and one totally unused $database parameter. Deprecate the current
* constructor signature in https://www.drupal.org/node/3031492 after the
* general policy for constructor backwards compatibility is determined in
* https://www.drupal.org/node/3030640.
*
* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager
* The entity type manager service. * The entity type manager service.
* @param \Drupal\layout_builder\InlineBlockUsageInterface $usage * @param \Drupal\layout_builder\InlineBlockUsageInterface $usage
* Inline block usage tracking service. * Inline block usage tracking service.
* @param \Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface $section_storage_manager * @param \Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface $section_storage_manager
* (optional) The section storage manager. * The section storage manager.
*/ */
public function __construct(EntityTypeManagerInterface $entityTypeManager, InlineBlockUsageInterface $usage, SectionStorageManagerInterface $section_storage_manager) { public function __construct(EntityTypeManagerInterface $entityTypeManager, InlineBlockUsageInterface $usage, SectionStorageManagerInterface $section_storage_manager) {
$this->entityTypeManager = $entityTypeManager; $this->entityTypeManager = $entityTypeManager;