diff --git a/README.txt b/README.txt index 307cb2a..e863865 100644 --- a/README.txt +++ b/README.txt @@ -54,6 +54,9 @@ Advanced options: Alter the options in “Menu levels” to be relative to the fixed parent item. The block will only contain children of the selected menu link. + Use as title + Replace the block title with an item from the menu. + HTML and style options: Theme hook suggestion diff --git a/src/Plugin/Block/MenuBlock.php b/src/Plugin/Block/MenuBlock.php index 22f7211..8a7c432 100644 --- a/src/Plugin/Block/MenuBlock.php +++ b/src/Plugin/Block/MenuBlock.php @@ -114,7 +114,7 @@ class MenuBlock extends SystemMenuBlock { '#options' => [ self::LABEL_BLOCK => $this->t('Block title'), self::LABEL_MENU => $this->t('Menu title'), - self::LABEL_FIXED => $this->t("Fixed menu item's title"), + self::LABEL_FIXED => $this->t("Fixed parent item's title"), self::LABEL_ACTIVE_ITEM => $this->t("Active item's title"), self::LABEL_PARENT => $this->t("Active trail's parent title"), self::LABEL_ROOT => $this->t("Active trail's root title"),