Drupal 8  8.0.2
TitleBlockPluginInterface Interface Reference
Inheritance diagram for TitleBlockPluginInterface:

Public Member Functions

 setTitle ($title)
 
- Public Member Functions inherited from BlockPluginInterface
 label ()
 
 access (AccountInterface $account, $return_as_object=FALSE)
 
 build ()
 
 setConfigurationValue ($key, $value)
 
 blockForm ($form, FormStateInterface $form_state)
 
 blockValidate ($form, FormStateInterface $form_state)
 
 blockSubmit ($form, FormStateInterface $form_state)
 
 getMachineNameSuggestion ()
 
- Public Member Functions inherited from ConfigurablePluginInterface
 getConfiguration ()
 
 setConfiguration (array $configuration)
 
 defaultConfiguration ()
 
- Public Member Functions inherited from DependentPluginInterface
 calculateDependencies ()
 
- Public Member Functions inherited from PluginFormInterface
 buildConfigurationForm (array $form, FormStateInterface $form_state)
 
 validateConfigurationForm (array &$form, FormStateInterface $form_state)
 
 submitConfigurationForm (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from PluginInspectionInterface
 getPluginId ()
 
 getPluginDefinition ()
 
- Public Member Functions inherited from CacheableDependencyInterface
 getCacheContexts ()
 
 getCacheTags ()
 
 getCacheMaxAge ()
 
- Public Member Functions inherited from DerivativeInspectionInterface
 getBaseId ()
 
 getDerivativeId ()
 

Detailed Description

The interface for "title" blocks.

A title block shows the title returned by the controller.

See Also

Member Function Documentation

setTitle (   $title)

Sets the title.

Parameters
string | array$titleThe page title: either a string for plain titles or a render array for formatted titles.

Implemented in PageTitleBlock.


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