You are here

public function Instance::delete in Little helpers 7

Same name and namespace in other branches
  1. 7.2 src/Field/Instance.php \Drupal\little_helpers\Field\Instance::delete()

Delete an existing field instance.

See also

\field_delete_instance()

File

src/Field/Instance.php, line 147

Class

Instance

Namespace

Drupal\little_helpers\Field

Code

public function delete() {
  \field_delete_instance($this
    ->export());
}