You are here

public function RangeBrowserTestBase::deleteRangeField in Range 8

Deletes previously created range field.

1 call to RangeBrowserTestBase::deleteRangeField()
RangeFieldValidationTest::testRangeValidation in tests/src/Functional/RangeFieldValidationTest.php
Tests range field validation.

File

tests/src/Functional/RangeBrowserTestBase.php, line 163

Class

RangeBrowserTestBase
Base class for the range module's tests.

Namespace

Drupal\Tests\range\Functional

Code

public function deleteRangeField() {
  $this->field
    ->delete();
  $this->fieldStorage
    ->delete();
}