You are here

public function TrackerInterface::setConfiguration in Menu Entity Index 8

Sets configuration values and triggers rescanning of menus as needed.

Updates the tracker service configuration with the new values. If menus or entity types are to be removed, database records will be deleted as needed. If menus or entity types are added, a batch process will be initiated to rescan and add database records for menu links as needed.

Parameters

array $form_values: The submitted form values of the configuration form.

bool $force_rebuild: Whether or not to force a rebuild for all menu's.

1 method overrides TrackerInterface::setConfiguration()
Tracker::setConfiguration in src/Tracker.php
Sets configuration values and triggers rescanning of menus as needed.

File

src/TrackerInterface.php, line 105

Class

TrackerInterface
Defines an interface for classes tracking entities referenced by menu links.

Namespace

Drupal\menu_entity_index

Code

public function setConfiguration(array $form_values = [], $force_rebuild = FALSE);