You are here

public function ShortcutSetStorageDecorator::deleteAssignedShortcutSets in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ShortcutSetStorageDecorator::deleteAssignedShortcutSets()
  2. 8 webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ShortcutSetStorageDecorator::deleteAssignedShortcutSets()
  3. 8.2 webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ShortcutSetStorageDecorator::deleteAssignedShortcutSets()

Delete shortcut sets assigned to users.

Parameters

\Drupal\shortcut\ShortcutSetInterface $entity: Delete the user assigned sets belonging to this shortcut.

Overrides ShortcutSetStorageInterface::deleteAssignedShortcutSets

File

webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php, line 31

Class

ShortcutSetStorageDecorator
Class ShortcutSetStorageDecorator.

Namespace

Drupal\webprofiler\Entity\Decorators\Config

Code

public function deleteAssignedShortcutSets(ShortcutSetInterface $entity) {
  $this
    ->getOriginalObject()
    ->deleteAssignedShortcutSets($entity);
}