You are here

public function UltimenuManagerInterface::removeRegions in Ultimenu 8

Same name and namespace in other branches
  1. 8.2 src/UltimenuManagerInterface.php \Drupal\ultimenu\UltimenuManagerInterface::removeRegions()

Returns unwanted Ultimenu regions for removal from theme .info.yml.

When a menu item disabled or deleted, relevant dynamic Ultimenu regions removed from the system, but theme .info.yml has a copy stored there. System will always keep and display the unwanted. Either manual deletion from .info.yml, or a force removal if so configured.

Return value

array|bool The array of unwanted Ultimenu regions from theme .info.yml, or FALSE.

1 method overrides UltimenuManagerInterface::removeRegions()
UltimenuManager::removeRegions in src/UltimenuManager.php
Returns unwanted Ultimenu regions for removal from theme .info.yml.

File

src/UltimenuManagerInterface.php, line 207

Class

UltimenuManagerInterface
Interface for Ultimenu plugins.

Namespace

Drupal\ultimenu

Code

public function removeRegions();