You are here

public function GTMContainer::delete in GoogleTagManager 7.2

Deletes configuration from database.

File

includes/entity/container.inc, line 657

Class

GTMContainer
Defines the container configuration entity.

Code

public function delete() {
  $data = (array) $this;
  $config['name'] = "google_tag.container.{$this->name}";
  $config['data'] = $data;
  $config = (object) $config;
  ctools_export_crud_delete('gtag_config', $config);
}