Drupal 8  8.0.2
PerformanceForm Class Reference
Inheritance diagram for PerformanceForm:

Public Member Functions

 __construct (ConfigFactoryInterface $config_factory, CacheBackendInterface $render_cache, DateFormatterInterface $date_formatter, AssetCollectionOptimizerInterface $css_collection_optimizer, AssetCollectionOptimizerInterface $js_collection_optimizer)
 
 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
 submitCacheClear (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from ConfigFormBase
 __construct (ConfigFactoryInterface $config_factory)
 
 buildForm (array $form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 

Static Public Member Functions

static create (ContainerInterface $container)
 
- Static Public Member Functions inherited from ConfigFormBase
static create (ContainerInterface $container)
 

Protected Member Functions

 getEditableConfigNames ()
 

Protected Attributes

 $renderCache
 
 $dateFormatter
 
 $cssCollectionOptimizer
 
 $jsCollectionOptimizer
 

Detailed Description

Configure performance settings for this site.

Constructor & Destructor Documentation

__construct ( ConfigFactoryInterface  $config_factory,
CacheBackendInterface  $render_cache,
DateFormatterInterface  $date_formatter,
AssetCollectionOptimizerInterface  $css_collection_optimizer,
AssetCollectionOptimizerInterface  $js_collection_optimizer 
)

Constructs a PerformanceForm object.

Parameters
\Drupal\Core\Config\ConfigFactoryInterface$config_factoryThe factory for configuration objects.
\Drupal\Core\Cache\CacheBackendInterface$render_cache
\Drupal\Core\Datetime\DateFormatterInterface$date_formatterThe date formatter service.
\Drupal\Core\Asset\AssetCollectionOptimizerInterface$css_collection_optimizerThe CSS asset collection optimizer service.
\Drupal\Core\Asset\AssetCollectionOptimizerInterface$js_collection_optimizerThe JavaScript asset collection optimizer service.

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 
)

{}

References Drupal\config(), t(), and Drupal\url().

Here is the call graph for this function:

static create ( ContainerInterface  $container)
static

{}

getEditableConfigNames ( )
protected

{}

getFormId ( )

{}

submitCacheClear ( array &  $form,
FormStateInterface  $form_state 
)

Clears the caches.

References t().

Here is the call graph for this function:

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

References Drupal\config().

Here is the call graph for this function:


The documentation for this class was generated from the following file: