You are here

public function MenuLinkContentServiceInterface::cleanupFields in Menu Item Extras 8.2

Cleanups all field that added by entity bundle.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: Entity for manipulating.

1 method overrides MenuLinkContentServiceInterface::cleanupFields()
MenuLinkContentService::cleanupFields in src/Service/MenuLinkContentService.php
Cleanups all field that added by entity bundle.

File

src/Service/MenuLinkContentServiceInterface.php, line 46

Class

MenuLinkContentServiceInterface
Interface MenuLinkContentHelperInterface.

Namespace

Drupal\menu_item_extras\Service

Code

public function cleanupFields(ContentEntityInterface $entity);