NullMatcherDumper::$routes

The routes to be dumped. Type: \Symfony\Component\Routing\RouteCollection File core/lib/Drupal/Core/Routing/NullMatcherDumper.php, line 17 Class NullMatcherDumper Does not dump Route information. Namespace Drupal\Core\Routing Code protected $routes;

Editor::getEditor

public Editor::getEditor() Returns the associated text editor plugin ID. Return value string The text editor plugin ID. Overrides EditorInterface::getEditor File core/modules/editor/src/Entity/Editor.php, line 144 Class Editor Defines the configured text editor entity. Namespace Drupal\editor\Entity Code public function getEditor() { return $this->editor; }

hook_batch_alter

hook_batch_alter(&$batch) Alter batch information before a batch is processed. Called by batch_process() to allow modules to alter a batch before it is processed. Parameters $batch: The associative array of batch information. See batch_set() for details on what this could contain. See also batch_set() batch_process() Related topics Batch operations Creates and processes batch operations. Hooks Define functions that alter the behavior of Drupal core. File core/lib/Drupal/Core/Form/form.a

field_ui_form_node_type_form_alter

field_ui_form_node_type_form_alter(&$form, FormStateInterface $form_state) Implements hook_form_FORM_ID_alter(). Adds a button 'Save and manage fields' to the 'Create content type' form. See also node_type_form() field_ui_form_node_type_form_submit() File core/modules/field_ui/field_ui.module, line 125 Allows administrators to attach custom fields to fieldable types. Code function field_ui_form_node_type_form_alter(&$form, FormStateInterface $form_state) { // We want to display the

ViewsFormMainForm

Hierarchy class \Drupal\views\Form\ViewsFormMainForm implements FormInterface File core/modules/views/src/Form/ViewsFormMainForm.php, line 9 Namespace Drupal\views\Form Members Name Modifiers Type Description ViewsFormMainForm::buildForm public function Form constructor. Overrides FormInterface::buildForm ViewsFormMainForm::getFormId public function Returns a unique string identifying the form. Overrides FormInterface::getFormId ViewsFormMainForm::submitForm

DynamicPageCacheSubscriber::$dynamicPageCacheRedirectRenderArray

Dynamic Page Cache's redirect render array. Type: array File core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php, line 75 Class DynamicPageCacheSubscriber Returns cached responses as early and avoiding as much work as possible. Namespace Drupal\dynamic_page_cache\EventSubscriber Code protected $dynamicPageCacheRedirectRenderArray = [ '#cache' => [ 'keys' => ['response'], 'contexts' => [ 'route', // Some routes' controllers r

DateTimePlus::FORMAT

File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 30 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code const FORMAT = 'Y-m-d H:i:s';

UserInterface::setUsername

public UserInterface::setUsername($username) Sets the username of this account. Parameters string $username: The new user name. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 52 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setUsername($username);

StringBase::setVersion

public StringBase::setVersion($version) Sets the string version. Parameters string $version: Version identifier. Return value $this Overrides StringInterface::setVersion File core/modules/locale/src/StringBase.php, line 89 Class StringBase Defines the locale string base class. Namespace Drupal\locale Code public function setVersion($version) { $this->version = $version; return $this; }

QueryFactory::getSubscribedEvents

static QueryFactory::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) array('eventNa