You are here

protected function QuickNodeBlock::getQuickDisplays in Quick Node Block 8

Show all display modes of content.

1 call to QuickNodeBlock::getQuickDisplays()
QuickNodeBlock::blockForm in src/Plugin/Block/QuickNodeBlock.php

File

src/Plugin/Block/QuickNodeBlock.php, line 254

Class

QuickNodeBlock
Provides a Node Block with his display.

Namespace

Drupal\quick_node_block\Plugin\Block

Code

protected function getQuickDisplays() {
  return $this->entityDisplay
    ->getViewModeOptions('node');
}