function 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 122
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;
}