You are here

public function ShareMessageBlock::calculateDependencies in Share Message 8

Overrides BlockPluginTrait::calculateDependencies

File

src/Plugin/Block/ShareMessageBlock.php, line 131

Class

ShareMessageBlock
Provides a 'ShareMessage' block with the AddThis widgets.

Namespace

Drupal\sharemessage\Plugin\Block

Code

public function calculateDependencies() {
  return [
    'config' => [
      'sharemessage.sharemessage.' . $this->configuration['sharemessage'],
    ],
  ];
}