You are here

public function NodeTypeThumbnailFormHelper::__construct in Acquia Lift Connector 8

Constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: Entity type manager.

File

src/Service/Helper/NodeTypeThumbnailFormHelper.php, line 61
Contains \Drupal\acquia_lift\Service\Helper\NodeTypeThumbnailFormHelper.

Class

NodeTypeThumbnailFormHelper
Defines a form that alters node type form to add a thumbnail form.

Namespace

Drupal\acquia_lift\Service\Helper

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityManagerInterface $entity_manager) {
  $this->settings = $config_factory
    ->getEditable('acquia_lift.settings');
  $this->entityManager = $entity_manager;
}