function TypedDataPropertyDeriverBase::create

Same name in other branches
  1. 4.0.x src/Plugin/Deriver/TypedDataPropertyDeriverBase.php \Drupal\ctools\Plugin\Deriver\TypedDataPropertyDeriverBase::create()

Overrides ContainerDeriverInterface::create

File

src/Plugin/Deriver/TypedDataPropertyDeriverBase.php, line 53

Class

TypedDataPropertyDeriverBase

Namespace

Drupal\ctools\Plugin\Deriver

Code

public static function create(ContainerInterface $container, $base_plugin_id) {
    return new static($container->get('typed_data_manager'), $container->get('string_translation'));
}