You are here

public function SimpleBlockBlock::label in Simple Block 8

Overrides BlockPluginTrait::label

File

src/Plugin/Block/SimpleBlockBlock.php, line 85

Class

SimpleBlockBlock
Defines a generic custom block config type.

Namespace

Drupal\simple_block\Plugin\Block

Code

public function label() : string {
  return $this
    ->getEntity()
    ->label();
}