You are here

public function SlickBase::delete in Slick Carousel 7.3

Deletes the optionset from database.

This only deletes from the database, which means that if an item is in code, then this is actually a revert.

File

src/Entity/SlickBase.php, line 152

Class

SlickBase
Defines the Slick configuration entity.

Namespace

Drupal\slick\Entity

Code

public function delete() {
  ctools_include('export');
  ctools_export_crud_delete(static::TABLE, $this->name);
}