public function Block::blockSettings in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/display/Block.php \Drupal\views\Plugin\views\display\Block::blockSettings()
- 10 core/modules/views/src/Plugin/views/display/Block.php \Drupal\views\Plugin\views\display\Block::blockSettings()
Returns plugin-specific settings for the block.
Parameters
array $settings: The settings of the block.
Return value
array An array of block-specific settings to override the defaults provided in \Drupal\views\Plugin\Block\ViewsBlock::defaultConfiguration().
See also
\Drupal\views\Plugin\Block\ViewsBlock::defaultConfiguration()
File
- core/
modules/ views/ src/ Plugin/ views/ display/ Block.php, line 127
Class
- Block
- The plugin that handles a block.
Namespace
Drupal\views\Plugin\views\displayCode
public function blockSettings(array $settings) {
$settings['items_per_page'] = 'none';
return $settings;
}