You are here

public function FBLikeboxBlock::defaultConfiguration in Facebook Page Plugin 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Block/FBLikeboxBlock.php \Drupal\fb_likebox\Plugin\Block\FBLikeboxBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/FBLikeboxBlock.php, line 28
Contains \Drupal\fb_likebox\Plugin\Block\FBLikeboxBlock.

Class

FBLikeboxBlock
Provides a configurable block with Facebook Likebox's plugin.

Namespace

Drupal\fb_likebox\Plugin\Block

Code

public function defaultConfiguration() {
  return array(
    'block_example_string' => t('A default value. This block was created at %time', array(
      '%time' => date('c'),
    )),
  );
}