function IconBuilderInterface::setLabel

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setLabel()
  2. 10 core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setLabel()
  3. 11.x core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setLabel()

Sets the label.

Parameters

string $label: The label of the layout.

Return value

$this

1 method overrides IconBuilderInterface::setLabel()
SvgIconBuilder::setLabel in core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php
Sets the label.

File

core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php, line 57

Class

IconBuilderInterface
Provides an interface for building layout icons.

Namespace

Drupal\Core\Layout\Icon

Code

public function setLabel($label);

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