You are here

public function SeedsManager::__construct in Seeds Toolbar 8

Constructor.

File

src/SeedsManager.php, line 51

Class

SeedsManager
Helper function for SeedsToolbar.

Namespace

Drupal\seeds_toolbar

Code

public function __construct($language_manager, $current_user, $entity_type_manager, $module_handler) {
  $this->languageManager = $language_manager;
  $this->currentUser = $current_user;
  $this->entityTypeManager = $entity_type_manager;
  $this->module_handler = $module_handler;
  $this->blockContentPermissionsModule = $module_handler
    ->moduleExists('block_content_permissions');
}