You are here

public function DisablePathauto::__construct in Acquia Content Hub 8.2

DisablePathauto constructor.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $handler: The module handler.

File

src/EventSubscriber/PreEntitySave/DisablePathauto.php, line 31

Class

DisablePathauto
Disables path auto during pre-entity save.

Namespace

Drupal\acquia_contenthub\EventSubscriber\PreEntitySave

Code

public function __construct(ModuleHandlerInterface $handler) {
  $this->handler = $handler;
}