You are here

function colors_delete_selector in Colors 7

Deletes a selector.

Parameters

$selector: The selector to remove.

File

./colors.module, line 229
Provides an API to match selectors with a color configuration.

Code

function colors_delete_selector($selector) {
  db_delete('colors')
    ->condition('selector', $selector)
    ->execute();
}