FieldItemList::equals

public FieldItemList::equals(FieldItemListInterface $list_to_compare) Determines equality to another object implementing FieldItemListInterface. Parameters \Drupal\Core\Field\FieldItemListInterface $list_to_compare: The field item list to compare to. Return value bool TRUE if the field item lists are equal, FALSE if not. Overrides FieldItemListInterface::equals File core/lib/Drupal/Core/Field/FieldItemList.php, line 380 Class FieldItemList Represents an entity field; that is, a list of f

ThemeManager::resetActiveTheme

public ThemeManager::resetActiveTheme() Resets the current active theme. Note: This method should not be used in common cases, just in special cases like tests. Return value $this Overrides ThemeManagerInterface::resetActiveTheme File core/lib/Drupal/Core/Theme/ThemeManager.php, line 111 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code public function resetActiveTheme() { $this->activeTheme = NULL; return $this; }

RevisionLogEntityTrait::getRevisionUserId

public RevisionLogEntityTrait::getRevisionUserId() Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUserId(). Overrides RevisionLogInterface::getRevisionUserId File core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php, line 88 Class RevisionLogEntityTrait Provides a trait for accessing revision logging and ownership information. Namespace Drupal\Core\Entity Code public function getRevisionUserId() { return $this->revision_user->target_id; }

Select::$union

An array whose elements specify a query to UNION, and the UNION type. The 'type' key may be '', 'ALL', or 'DISTINCT' to represent a 'UNION', 'UNION ALL', or 'UNION DISTINCT' statement, respectively. All entries in this array will be applied from front to back, with the first query to union on the right of the original query, the second union to the right of the first, etc. Type: array File core/lib/Drupal/Core/Database/Query/Select.php, line 107 Class Select Query builder for SELECT statem

DateHelper::dayOfWeek

public static DateHelper::dayOfWeek($date = NULL) Returns day of week for a given date (0 = Sunday). Parameters mixed $date: (optional) A DrupalDateTime object or a date string. Defaults to NULL, which means use the current date. Return value int The number of the day in the week. File core/lib/Drupal/Core/Datetime/DateHelper.php, line 501 Class DateHelper Defines Gregorian Calendar date values. Namespace Drupal\Core\Datetime Code public static function dayOfWeek($date = NULL) { if

ConfigMapperInterface::getBasePath

public ConfigMapperInterface::getBasePath() Returns a processed path for the base route the mapper is attached to. Return value string Processed path with placeholders replaced. File core/modules/config_translation/src/ConfigMapperInterface.php, line 59 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function getBasePath();

Email

Provides a form input element for entering an email address. Properties: #default_value: An RFC-compliant email address. Example usage: $form['email'] = array( '#type' => 'email', '#title' => $this->t('Email'), ); @end <h3>Plugin annotationh3> @code @FormElement("email") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTr

NodeGrantDatabaseStorageInterface::writeDefault

public NodeGrantDatabaseStorageInterface::writeDefault() Creates the default node access grant entry. File core/modules/node/src/NodeGrantDatabaseStorageInterface.php, line 87 Class NodeGrantDatabaseStorageInterface Provides an interface for node access grant storage. Namespace Drupal\node Code public function writeDefault();

ConfirmFormBase::getCancelText

public ConfirmFormBase::getCancelText() Returns a caption for the link which cancels the action. Return value string The form cancellation text. Overrides ConfirmFormInterface::getCancelText File core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 27 Class ConfirmFormBase Provides an generic base class for a confirmation form. Namespace Drupal\Core\Form Code public function getCancelText() { return $this->t('Cancel'); }

HtmlRenderer::$renderCache

The render cache service. Type: \Drupal\Core\Render\RenderCacheInterface File core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php, line 72 Class HtmlRenderer Default main content renderer for HTML requests. Namespace Drupal\Core\Render\MainContent Code protected $renderCache;