User::getUsername

public User::getUsername() Returns the unaltered login name of this account. Return value string An unsanitized plain-text string with the name of this account that is used to log in. Only display this name to admins and to the user who owns this account, and only in the context of the name used to log in. For any other display purposes, use \Drupal\Core\Session\AccountInterface::getDisplayName() instead. Overrides AccountInterface::getUsername Deprecated in Drupal 8.0.0, will be removed bef

ContactFormInterface::setRedirectPath

public ContactFormInterface::setRedirectPath($redirect) Sets the redirect path. Parameters string $redirect: The desired path. Return value $this File core/modules/contact/src/ContactFormInterface.php, line 90 Class ContactFormInterface Provides an interface defining a contact form entity. Namespace Drupal\contact Code public function setRedirectPath($redirect);

ExtensionDiscovery::$files

Previously discovered files keyed by origin directory and extension type. Type: array File core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 71 Class ExtensionDiscovery Discovers available extensions in the filesystem. Namespace Drupal\Core\Extension Code protected static $files = array();

EntityDisplayFormBase::getFieldDefinitions

protected EntityDisplayFormBase::getFieldDefinitions() Collects the definitions of fields whose display is configurable. Return value \Drupal\Core\Field\FieldDefinitionInterface[] The array of field definitions File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 126 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code protected function getFieldDefinitions() { $context = $this->displayContext; return array_filt

TableSortExtender::$header

The array of fields that can be sorted by. File core/lib/Drupal/Core/Database/Query/TableSortExtender.php, line 15 Class TableSortExtender Query extender class for tablesort queries. Namespace Drupal\Core\Database\Query Code protected $header = array();

EntityFieldManager::getBaseFieldDefinitions

public EntityFieldManager::getBaseFieldDefinitions($entity_type_id) Gets the base field definitions for a content entity type. Only fields that are not specific to a given bundle or set of bundles are returned. This excludes configurable fields, as they are always attached to a specific bundle. Parameters string $entity_type_id: The entity type ID. Only entity types that implement \Drupal\Core\Entity\FieldableEntityInterface are supported. Return value \Drupal\Core\Field\FieldDefinitionInterf

PoStreamReader::shortenComments

private PoStreamReader::shortenComments($comment) Generates a short, one-string version of the passed comment array. Parameters $comment: An array of strings containing a comment. Return value Short one-string version of the comment. File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 580 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private function shortenComments($comment) { $comm = ''; while (count($comment)) {

ImageFactory::get

public ImageFactory::get($source = NULL, $toolkit_id = NULL) Constructs a new Image object. Normally, the toolkit set as default in the admin UI is used by the factory to create new Image objects. This can be overridden through \Drupal\Core\Image\ImageInterface::setToolkitId() so that any new Image object created will use the new toolkit specified. Finally, a single Image object can be created using a specific toolkit, regardless of the current factory settings, by passing its plugin ID in the

ConditionFundamentals::conditions

public &ConditionFundamentals::conditions() Gets a complete list of all conditions in this conditional clause. This method returns by reference. That allows alter hooks to access the data structure directly and manipulate it before it gets compiled. Return value array Overrides ConditionInterface::conditions File core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php, line 74 Class ConditionFundamentals Common code for all implementations of the entity query condition interfaces.

FileCache::$cached

Static cache that contains already loaded cache entries. Type: array File core/lib/Drupal/Component/FileCache/FileCache.php, line 22 Class FileCache Allows to cache data based on file modification dates. Namespace Drupal\Component\FileCache Code protected static $cached = [];