You are here

public function NameListFormatForm::exists in Name Field 8

File

src/Form/NameListFormatForm.php, line 38

Class

NameListFormatForm
Provides a form controller for name list formats.

Namespace

Drupal\name\Form

Code

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