You are here

public function NameFormatForm::exists in Name Field 8

File

src/Form/NameFormatForm.php, line 45

Class

NameFormatForm
Provides a base form controller for date formats.

Namespace

Drupal\name\Form

Code

public function exists($entity_id, array $element, FormStateInterface $form_state) {
  return NameFormat::load($entity_id);
}