You are here

public function PrivateMessageInboxBlock::defaultConfiguration in Private Message 8

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/PrivateMessageInboxBlock.php, line 182

Class

PrivateMessageInboxBlock
Provides the private message inbox block.

Namespace

Drupal\private_message\Plugin\Block

Code

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