You are here

function webform_rebuild in Webform 8.5

Same name and namespace in other branches
  1. 6.x webform.module \webform_rebuild()

Implements hook_rebuild().

File

./webform.module, line 190
Enables the creation of webforms and questionnaires.

Code

function webform_rebuild() {

  /** @var \Drupal\webform\WebformEmailProviderInterface $email_provider */
  $email_provider = \Drupal::service('webform.email_provider');
  $email_provider
    ->check();
}