You are here

public function FieldManagerInterface::fieldNameExists in Scheduled Updates 8

Checks if a field machine name is taken.

Copied from \Drupal\field_ui\Form\FieldStorageAddForm::fieldNameExists

Parameters

$field_name:

$entity_type_id:

Return value

bool Whether or not the field machine name is taken. Whether or not the field machine name is taken.

1 method overrides FieldManagerInterface::fieldNameExists()
FieldManager::fieldNameExists in src/FieldManager.php
Checks if a field machine name is taken.

File

src/FieldManagerInterface.php, line 43
Contains \Drupal\scheduled_updates\FieldManagerInterface.

Class

FieldManagerInterface
Interface for the field manager service.

Namespace

Drupal\scheduled_updates

Code

public function fieldNameExists($field_name, $entity_type_id);