You are here

public function DataPolicyInformBlock::getConfiguration in Data Policy 8

Overrides BlockPluginTrait::getConfiguration

File

src/Plugin/Block/DataPolicyInformBlock.php, line 117

Class

DataPolicyInformBlock
Provides a 'Data Policy' block.

Namespace

Drupal\data_policy\Plugin\Block

Code

public function getConfiguration() {
  $configuration = parent::getConfiguration();
  if (!empty($inform_block = $this
    ->getInformBlock())) {
    $configuration['label'] = $inform_block
      ->label();
  }
  return $configuration;
}