You are here

public function ContentTypesUpdatedSubscriber::rebuildMenu in Allow a content type only once (Only One) 8

Subscriber Callback for the event OnlyOneEvents::CONTENT_TYPES_UPDATED.

File

modules/onlyone_admin_toolbar/src/EventSubscriber/ContentTypesUpdatedSubscriber.php, line 44

Class

ContentTypesUpdatedSubscriber
Class ContentTypesUpdatedSubscriber.

Namespace

Drupal\onlyone_admin_toolbar\EventSubscriber

Code

public function rebuildMenu() {
  $this->routeBuilder
    ->rebuild();
}