You are here

public function ShortcodeService::__construct in Shortcode 8

Same name and namespace in other branches
  1. 2.0.x 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;
}