original_string: public function getThemeOptionsExcluding($excludedColors = [])
      {
          $themeColors = $this->owner->config()->get('theme_colors');
          $options = [];
  
          foreach ($themeColors as $themeColor) {
              if (in_array($themeColor['CSSClass'], $excludedColors)) {
                  continue;
              }
  
              $options[] = $themeColor;
          }
  
          return $options;
      }
code: public function getThemeOptionsExcluding($excludedColors = [])
      {
          $themeColors = $this->owner->config()->get('theme_colors');
          $options = [];
  
          foreach ($themeColors as $themeColor) {
              if (in_array($themeColor['CSSClass'], $excludedColors)) {
                  continue;
              }
  
              $options[] = $themeColor;
          }
  
          return $options;
      }
code_tokens: public function getThemeOptionsExcluding ( $ excludedColors = [ ] ) { $ themeColors = $ this -> owner -> config ( ) -> get ( 'theme_colors' ) ; $ options = [ ] ; foreach ( $ themeColors as $ themeColor ) { if ( in_array ( $ themeColor [ 'CSSClass' ] , $ excludedColors ) ) { continue ; } $ options [ ] = $ themeColor ; } return $ options ; }
docstring: Returns theme_colors used for ColorPickerField.
  
  @param  array  $excludedColors list of colours to exclude from the returned options
  based on the theme colour's 'CSSClass' value
  @return array
docstring_tokens: Returns theme_colors used for ColorPickerField .