node_form_system_themes_admin_form_alter

node_form_system_themes_admin_form_alter(&$form, FormStateInterface $form_state, $form_id) Implements hook_form_FORM_ID_alter(). Alters the theme form to use the admin theme on node editing. See also node_form_system_themes_admin_form_submit() File core/modules/node/node.module, line 828 The core module that allows content to be submitted to the site. Code function node_form_system_themes_admin_form_alter(&$form, FormStateInterface $form_state, $form_id) { $form['admin_theme']['use

WriteSafeSessionHandlerInterface::isSessionWritable

public WriteSafeSessionHandlerInterface::isSessionWritable() Returns whether or not a session may be written to storage. Return value bool TRUE if the session the session is allowed to be written, FALSE otherwise. File core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php, line 29 Class WriteSafeSessionHandlerInterface Provides an interface for session handlers where writing can be disabled. Namespace Drupal\Core\Session Code public function isSessionWritable();

ViewAjaxResponse::$view

The view executed on this ajax request. Type: \Drupal\views\ViewExecutable File core/modules/views/src/Ajax/ViewAjaxResponse.php, line 20 Class ViewAjaxResponse Custom JSON response object for an ajax view response. Namespace Drupal\views\Ajax Code protected $view;

ModerationStateTransitionListBuilder::render

public ModerationStateTransitionListBuilder::render() Builds the entity listing as renderable array for table.html.twig. @todo Add a link to add a new item to the #empty text. Overrides DraggableListBuilder::render File core/modules/content_moderation/src/ModerationStateTransitionListBuilder.php, line 94 Class ModerationStateTransitionListBuilder Provides a listing of Moderation state transition entities. Namespace Drupal\content_moderation Code public function render() { $build = p

FieldStorageConfigListBuilder::buildRow

public FieldStorageConfigListBuilder::buildRow(EntityInterface $field_storage) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/field_ui/src/FieldStorageConfigListBuilder.php, line 96 Class FieldStorageConfigListBu

WidgetBase::setWidgetState

public static WidgetBase::setWidgetState(array $parents, $field_name, FormStateInterface $form_state, array $field_state) Stores processing information about the widget in $form_state. This method is static so that it can be used in static Form API #callbacks. Parameters array $parents: The array of #parents where the widget lives in the form. string $field_name: The field name. \Drupal\Core\Form\FormStateInterface $form_state: The form state. array $field_state: The array of data to store. Se

DateFormatInterface

Provides an interface defining a date format. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\Core\Datetime\DateFormatInterface File core/lib/Drupal/Core/Datetime/DateFormatInterface.php, line 10 Namespace Drupal\Core\Datetime Members Name Modifiers Type Description AccessibleInterface::access public function Checks data v

ImageStyle::buildUrl

public ImageStyle::buildUrl($path, $clean_urls = NULL) Returns the URL of this image derivative for an original image path or URI. Parameters string $path: The path or URI to the original image. mixed $clean_urls: (optional) Whether clean URLs are in use. Return value string The absolute URL where a style image can be downloaded, suitable for use in an <img> tag. Requesting the URL will cause the image to be created. Overrides ImageStyleInterface::buildUrl See also \Drupal\image\Contro

WriteSafeSessionHandler::destroy

public WriteSafeSessionHandler::destroy($session_id) Destroys a session. Parameters string $sessionId Session ID, see http://php.net/function.session-id: Return value bool true on success, false on failure Overrides SessionHandlerInterface::destroy See also http://php.net/sessionhandlerinterface.destroy File core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php, line 45 Class WriteSafeSessionHandler Wraps another SessionHandlerInterface to prevent writes when not allowed. Namespace

EntityViewsData::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/views/src/EntityViewsData.php, line 65 Class EntityViewsData Provides generic views integration for entities. Namespace Drupal\views Code protected $entityManager;