You are here

public static function DynamicUserHelpLink::create in Lightweight Directory Access Protocol (LDAP) 8.4

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

ldap_authentication/src/Plugin/Derivative/DynamicUserHelpLink.php, line 37

Class

DynamicUserHelpLink
Provides help messages for users when configured.

Namespace

Drupal\ldap_authentication\Plugin\Derivative

Code

public static function create(ContainerInterface $container, $base_plugin_id) : DynamicUserHelpLink {
  return new static($container
    ->get('config.factory'));
}