original_string: public function getFormConfig()
      {
          $config = $this->getConfigArray('form');
  
          /**
           * @event cms.theme.extendFormConfig
           * Extend form field configuration supplied by the theme by returning an array.
           *
           * Note if you are planning on using `assetVar` to inject CSS variables from a
           * plugin registration file, make sure the plugin has elevated permissions.
           *
           * Example usage:
           *
           *     Event::listen('cms.theme.extendFormConfig', function ($themeCode, &$config) {
           *          array_set($config, 'tabs.fields.header_color', [
           *              'label'           => 'Header Colour',
           *              'type'            => 'colorpicker',
           *              'availableColors' => [#34495e, #708598, #3498db],
           *              'assetVar'        => 'header-bg',
           *              'tab'             => 'Global'
           *          ]);
           *     });
           *
           */
          Event::fire('cms.theme.extendFormConfig', [$this->getDirName(), &$config]);
  
          return $config;
      }
code: public function getFormConfig()
      {
          $config = $this->getConfigArray('form');
  
          /**
           * @event cms.theme.extendFormConfig
           * Extend form field configuration supplied by the theme by returning an array.
           *
           * Note if you are planning on using `assetVar` to inject CSS variables from a
           * plugin registration file, make sure the plugin has elevated permissions.
           *
           * Example usage:
           *
           *     Event::listen('cms.theme.extendFormConfig', function ($themeCode, &$config) {
           *          array_set($config, 'tabs.fields.header_color', [
           *              'label'           => 'Header Colour',
           *              'type'            => 'colorpicker',
           *              'availableColors' => [#34495e, #708598, #3498db],
           *              'assetVar'        => 'header-bg',
           *              'tab'             => 'Global'
           *          ]);
           *     });
           *
           */
          Event::fire('cms.theme.extendFormConfig', [$this->getDirName(), &$config]);
  
          return $config;
      }
code_tokens: public function getFormConfig ( ) { $ config = $ this -> getConfigArray ( 'form' ) ; /**
           * @event cms.theme.extendFormConfig
           * Extend form field configuration supplied by the theme by returning an array.
           *
           * Note if you are planning on using `assetVar` to inject CSS variables from a
           * plugin registration file, make sure the plugin has elevated permissions.
           *
           * Example usage:
           *
           *     Event::listen('cms.theme.extendFormConfig', function ($themeCode, &$config) {
           *          array_set($config, 'tabs.fields.header_color', [
           *              'label'           => 'Header Colour',
           *              'type'            => 'colorpicker',
           *              'availableColors' => [#34495e, #708598, #3498db],
           *              'assetVar'        => 'header-bg',
           *              'tab'             => 'Global'
           *          ]);
           *     });
           *
           */ Event :: fire ( 'cms.theme.extendFormConfig' , [ $ this -> getDirName ( ) , & $ config ] ) ; return $ config ; }
docstring: Themes have a dedicated `form` option that provide form fields
  for customization, this is an immutable accessor for that and
  also an solid anchor point for extension.
  @return array
docstring_tokens: Themes have a dedicated form option that provide form fields for customization this is an immutable accessor for that and also an solid anchor point for extension .