/**
   * {@inheritdo}
   */
  public static function create(ContainerInterface $container, array $configuration, $plugin_id, array $plugin_definition) {
    return new static(
      $configuration,
      $plugin_id,
      $plugin_definition,
      $container,
      $container->get('request')
    );
  }

Ref. https://drupal.org/node/1354#inheritdoc

CommentFileSizeAuthor
#1 userloginblock-type-2036273-1.patch630 bytesbdone
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bdone’s picture

Status: Active » Needs review
FileSize
630 bytes
LinL’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

jhodgdon’s picture

Status: Reviewed & tested by the community » Fixed

Thanks! Committed to 8.x.

Automatically closed -- issue fixed for 2 weeks with no activity.