function NavigationLinkBlock::blockSubmit

Overrides BlockPluginTrait::blockSubmit

File

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

Class

NavigationLinkBlock
Defines a link navigation block.

Namespace

Drupal\navigation\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) : void {
    $this->configuration['uri'] = $form_state->getValue('uri');
    $this->configuration['title'] = $form_state->getValue('title');
    $this->configuration['icon_class'] = $form_state->getValue('icon_class');
}

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