You are here

public function GoogleAnalyticsCounterCustomFieldGenerator::gacPreDeleteField in Google Analytics Counter 8.3

Prepares to delete the custom field and saves the configuration.

Parameters

$type:

$key:

Throws

\Drupal\Core\Entity\EntityStorageException

Overrides GoogleAnalyticsCounterCustomFieldGeneratorInterface::gacPreDeleteField

File

src/GoogleAnalyticsCounterCustomFieldGenerator.php, line 193

Class

GoogleAnalyticsCounterCustomFieldGenerator
Defines the Google Analytics Counter custom field generator.

Namespace

Drupal\google_analytics_counter

Code

public function gacPreDeleteField($type, $key) {

  // Delete the field.
  // Todo: Remove this method.
  $this
    ->gacDeleteField($type);
}