You are here

public function MenuLinkContentService::doEntityUpdate in Menu Item Extras 8.2

Runs entity definition updates for menu_link_content entity.

Overrides MenuLinkContentServiceInterface::doEntityUpdate

File

src/Service/MenuLinkContentService.php, line 215

Class

MenuLinkContentService
Class MenuLinkContentHelper.

Namespace

Drupal\menu_item_extras\Service

Code

public function doEntityUpdate() {
  $entity_type = $this->entityTypeManager
    ->getDefinition('menu_link_content');
  $this->entityDefinitionUpdateManager
    ->updateEntityType($entity_type);
}