You are here

public static function WebformAnalysisBlock::create in Webform Analysis 8

File

src/Plugin/Block/WebformAnalysisBlock.php, line 34

Class

WebformAnalysisBlock
Provides a 'Webform' block.

Namespace

Drupal\webform_analysis\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'), $container
    ->get('form_builder'));
}