Same name in other branches
  1. 4.x src/Plugin/Block/QuickTabsBlock.php \Drupal\quicktabs\Plugin\Block\QuickTabsBlock::create()

File

src/Plugin/Block/QuickTabsBlock.php, line 49

Class

QuickTabsBlock
Provides a 'QuickTabs' block.

Namespace

Drupal\quicktabs\Plugin\Block

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
    return new static($configuration, $plugin_id, $plugin_definition, $container->get('entity_type.manager'));
}