public static function ColorizedGmapBlock::create in Colorized google maps block 8
Create.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: Container.
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Return value
\Drupal\Core\Plugin\ContainerFactoryPluginInterface|static Container factory object.
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ Block/ ColorizedGmapBlock.php, line 70
Class
- ColorizedGmapBlock
- Provides a 'Example: configurable text string' block.
Namespace
Drupal\colorized_gmap\Plugin\BlockCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('config.factory'));
}