SystemCompactLink

Provides a link to show or hide help text on administration pages. Usage example: $form['system_compact_link'] = [ '#type' => 'system_compact_link', ]; Plugin annotation @RenderElement("system_compact_link") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInter

SystemBrandingOffCanvasForm::validateConfigurationForm

public SystemBrandingOffCanvasForm::validateConfigurationForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm(). \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform(). Overrides PluginFormBase::validat

SystemBrandingOffCanvasForm::__construct

public SystemBrandingOffCanvasForm::__construct(ConfigFactoryInterface $config_factory) SystemBrandingOffCanvasForm constructor. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory. File core/modules/outside_in/src/Form/SystemBrandingOffCanvasForm.php, line 38 Class SystemBrandingOffCanvasForm The off-canvas form handler for the SystemBrandingBlock. Namespace Drupal\outside_in\Form Code public function __construct(ConfigFactoryInterface $config_fa

SystemBrandingOffCanvasForm::buildConfigurationForm

public SystemBrandingOffCanvasForm::buildConfigurationForm(array $form, FormStateInterface $form_state) Form constructor. Plugin forms are embedded in other forms. In order to know where the plugin form is located in the parent form, #parents and #array_parents must be known, but these are not available during the initial build phase. In order to have these properties available when building the plugin form's elements, let this method return a form element that has a #process callback and build

SystemBrandingOffCanvasForm::submitConfigurationForm

public SystemBrandingOffCanvasForm::submitConfigurationForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm(). \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform(). Overrides PluginFormInterface::subm

SystemBrandingOffCanvasForm

The off-canvas form handler for the SystemBrandingBlock. Hierarchy class \Drupal\Core\Plugin\PluginFormBase implements PluginAwareInterface, PluginFormInterfaceclass \Drupal\outside_in\Form\SystemBrandingOffCanvasForm implements ContainerInjectionInterface See also outside_in_block_alter() File core/modules/outside_in/src/Form/SystemBrandingOffCanvasForm.php, line 16 Namespace Drupal\outside_in\Form Members Name Modifiers Type Description PluginFormBase::setPlugin public

SystemBrandingOffCanvasForm::$configFactory

The config factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/outside_in/src/Form/SystemBrandingOffCanvasForm.php, line 30 Class SystemBrandingOffCanvasForm The off-canvas form handler for the SystemBrandingBlock. Namespace Drupal\outside_in\Form Code protected $configFactory;

SystemBrandingOffCanvasForm::create

public static SystemBrandingOffCanvasForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container:

system.module

Configuration system that lets administrators modify the workings of the site. File core/modules/system/system.module Functions Name Description system_admin_compact_mode Determines whether the current user is in compact mode. system_authorized_batch_process Use authorize.php to run batch_process(). system_authorized_batch_processing_url Returns the URL for the authorize.php script when it is processing a batch. system_authorized_get_url Return the URL for the authorize.ph

system.install

Install, update and uninstall functions for the system module. File core/modules/system/system.install Functions Name Description system_install Implements hook_install(). system_requirements Implements hook_requirements(). system_schema Implements hook_schema(). system_update_8001 Change two fields on the default menu link storage to be serialized data. system_update_8002 Removes the system.filter configuration. system_update_8003 Change the index on the {router}