You are here

function colors_get_selectors in Colors 7

Gets an array of all the selectors.

Return value

Array containing all the selectors.

File

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

Code

function colors_get_selectors() {
  return db_select('colors', 'c')
    ->fields('c', array(
    'selector',
  ))
    ->execute()
    ->fetchAllAssoc('selector', PDO::FETCH_ASSOC);
}