function NavigationLinkBlock::defaultConfiguration

Overrides BlockPluginTrait::defaultConfiguration

File

core/modules/navigation/src/Plugin/Block/NavigationLinkBlock.php, line 29

Class

NavigationLinkBlock
Defines a link navigation block.

Namespace

Drupal\navigation\Plugin\Block

Code

public function defaultConfiguration() : array {
    return [
        'title' => '',
        'uri' => '',
        'icon_class' => '',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.