You are here

public function PrivateMessageNotificationBlock::defaultConfiguration in Private Message 8

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/PrivateMessageNotificationBlock.php, line 134

Class

PrivateMessageNotificationBlock
Provides the private message notification block.

Namespace

Drupal\private_message\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'ajax_refresh_rate' => 15,
  ];
}