ImageToolkitBase::setSource

public ImageToolkitBase::setSource($source) Sets the source path of the image file. Parameters string $source: The source path of the image file. Return value \Drupal\Core\ImageToolkit\ImageToolkitInterface An instance of the current toolkit object. Throws \BadMethodCallException After being set initially, the source image cannot be changed. Overrides ImageToolkitInterface::setSource File core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php, line 81 Class ImageToolkitBase Provides a b

StringInterface::hasLocation

public StringInterface::hasLocation($type, $name) Checks whether the string has a given location. Parameters string $type: Location type. string $name: Location name. Return value bool TRUE if the string has a location with this type and name. File core/modules/locale/src/StringInterface.php, line 194 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function hasLocation($type, $name);

FieldItemListInterface::__unset

public FieldItemListInterface::__unset($property_name) Magic method: Unsets a property of the first field item. See also \Drupal\Core\Field\FieldItemInterface::__isset() File core/lib/Drupal/Core/Field/FieldItemListInterface.php, line 125 Class FieldItemListInterface Interface for fields, being lists of field items. Namespace Drupal\Core\Field Code public function __unset($property_name);

BaseFieldDefinition::getSettings

public BaseFieldDefinition::getSettings() Returns the array of settings, as required by the used class. See the documentation of the class for supported or required settings. Return value array The array of settings. Overrides DataDefinition::getSettings File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 139 Class BaseFieldDefinition A class for defining entity fields. Namespace Drupal\Core\Field Code public function getSettings() { return $this->getItemDefinition()-&g

ViewsExposedForm::$no_ui

Whether the plugin should be not selectable in the UI. If it's set to TRUE, you can still use it via the API in config files. Type: bool File core/modules/views/src/Annotation/ViewsExposedForm.php, line 77 Class ViewsExposedForm Defines a Plugin annotation object for views exposed form plugins. Namespace Drupal\views\Annotation Code public $no_ui;

EntityType::hasLinkTemplate

public EntityType::hasLinkTemplate($key) Indicates if a link template exists for a given key. Parameters string $key: The link type. Return value bool TRUE if the link template exists, FALSE otherwise. Overrides EntityTypeInterface::hasLinkTemplate File core/lib/Drupal/Core/Entity/EntityType.php, line 625 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function hasLinkTemplate($key) { $links = $this->getLin

ViewExecutable::access

public ViewExecutable::access($displays = NULL, $account = NULL) Determines if the given user has access to the view. Note that this sets the display handler if it hasn't been set. Parameters string $displays: The machine name of the display. \Drupal\Core\Session\AccountInterface $account: The user object. Return value bool TRUE if the user has access to the view, FALSE otherwise. File core/modules/views/src/ViewExecutable.php, line 1734 Class ViewExecutable Represents a view as a whole.

ProcessedText::configFactory

protected static ProcessedText::configFactory() Wraps the config factory. Return value \Drupal\Core\Config\ConfigFactoryInterface File core/modules/filter/src/Element/ProcessedText.php, line 151 Class ProcessedText Provides a processed text render element. Namespace Drupal\filter\Element Code protected static function configFactory() { return \Drupal::configFactory(); }

AdminContext

Provides a helper class to determine whether the route is an admin one. Hierarchy class \Drupal\Core\Routing\AdminContext File core/lib/Drupal/Core/Routing/AdminContext.php, line 10 Namespace Drupal\Core\Routing Members Name Modifiers Type Description AdminContext::$routeMatch protected property The route match. AdminContext::isAdminRoute public function Determines whether the active route is an admin one. AdminContext::__construct public function Constru

EntityType::getBundleEntityType

public EntityType::getBundleEntityType() Gets the name of the entity type which provides bundles. Return value string|null The name of the entity type which provides bundles, or NULL if the entity type does not have a bundle entity type. Overrides EntityTypeInterface::getBundleEntityType File core/lib/Drupal/Core/Entity/EntityType.php, line 667 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getBundleEnt