You are here

function access_unpublished_form_alter in Access unpublished 8

Implements hook_form_alter().

File

./access_unpublished.module, line 90
Contains access_unpublished implementations.

Code

function access_unpublished_form_alter(&$form, FormStateInterface $form_state, $form_id) {
  \Drupal::service('class_resolver')
    ->getInstanceFromDefinition(AccessUnpublishedForm::class)
    ->formAlter($form, $form_state, $form_id);
}