You are here

public function ShortcodeService::__construct in Shortcode 2.0.x

Same name and namespace in other branches
  1. 8 src/ShortcodeService.php \Drupal\shortcode\ShortcodeService::__construct()

Constructs a ShortcodeService object.

Parameters

\Drupal\shortcode\ShortcodePluginManager $shortCodePluginManager: The config factory service.

File

src/ShortcodeService.php, line 26

Class

ShortcodeService
Provide the ShortCode service.

Namespace

Drupal\shortcode

Code

public function __construct(ShortcodePluginManager $shortCodePluginManager) {
  $this->shortCodePluginManager = $shortCodePluginManager;
}