StaticMenuLinkOverridesInterface::saveOverride

public StaticMenuLinkOverridesInterface::saveOverride($id, array $definition)

Saves the override.

Parameters

string $id: A menu link plugin ID.

array $definition: The definition values to override. Supported keys:

  • menu_name
  • parent
  • weight
  • expanded
  • enabled

Return value

array A list of properties which got saved.

File

core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php, line 80

Class

StaticMenuLinkOverridesInterface
Defines an interface for objects which overrides menu links defined in YAML.

Namespace

Drupal\Core\Menu

Code

public function saveOverride($id, array $definition);
doc_Drupal
2016-10-29 09:44:24
Comments
Leave a Comment

Please login to continue.