Verified Commit b58d1232 authored by Jess's avatar Jess
Browse files

Issue #3008943 by tim.plunkett, amateescu, brandonlira, sahil.goyal,...

Issue #3008943 by tim.plunkett, amateescu, brandonlira, sahil.goyal, yogeshmpawar, smustgrave, alexpott, ameymudras: Clean up todo in InlineBlockEntityOperations::handleEntityDelete()

(cherry picked from commit 79b32d1a)
parent f932d842
Loading
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -134,8 +134,6 @@ protected function getRemovedBlockIds(EntityInterface $entity) {
   *   The parent entity.
   */
  public function handleEntityDelete(EntityInterface $entity) {
    // @todo In https://www.drupal.org/node/3008943 call
    //   \Drupal\layout_builder\LayoutEntityHelperTrait::isLayoutCompatibleEntity().
    $this->usage->removeByLayoutEntity($entity);
  }