public static function MandrillActivityLocalTasks::create in Mandrill 8
Creates a new class instance.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The container to pull out services used in the fetcher.
string $base_plugin_id: The base plugin ID for the plugin ID.
Return value
static Returns an instance of this fetcher.
Overrides ContainerDeriverInterface::create
File
- modules/
mandrill_activity/ src/ Plugin/ Derivative/ MandrillActivityLocalTasks.php, line 41 - Contains \Drupal\mandrill_activity\Plugin\Derivative\MandrillActivityLocalTasks.
Class
- MandrillActivityLocalTasks
- Defines dynamic local tasks for Mandrill Activity.
Namespace
Drupal\mandrill_activity\Plugin\DerivativeCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($container
->get('entity_type.manager'));
}