FileStorage::getFullPath

public FileStorage::getFullPath($name) Gets the full file path. Parameters string $name: The virtual file name. Can be a relative path. Return value string|false The full file path for the provided name. Return FALSE if the implementation needs to prevent access to the file. Overrides PhpStorageInterface::getFullPath File core/lib/Drupal/Component/PhpStorage/FileStorage.php, line 193 Class FileStorage Stores the code as regular PHP files. Namespace Drupal\Component\PhpStorage Code pu

outside_in_css_alter

outside_in_css_alter(&$css, AttachedAssetsInterface $assets) Implements hook_css_alter(). File core/modules/outside_in/outside_in.module, line 148 Allows configuring blocks and other configuration from the site front-end. Code function outside_in_css_alter(&$css, AttachedAssetsInterface $assets) { // @todo Remove once conditional ordering is introduced in // https://www.drupal.org/node/1945262. $path = drupal_get_path('module', 'outside_in') . '/css/outside_in.theme.css'; if

ProfileTranslationHandler::hasPublishedStatus

protected ProfileTranslationHandler::hasPublishedStatus() Checks whether the entity type supports published status natively. Return value bool TRUE if metadata is natively supported, FALSE otherwise. Overrides ContentTranslationHandler::hasPublishedStatus File core/modules/user/src/ProfileTranslationHandler.php, line 17 Class ProfileTranslationHandler Defines the translation handler for users. Namespace Drupal\user Code protected function hasPublishedStatus() { // User status has no

TypedDataMetadata::getCascadingStrategy

public TypedDataMetadata::getCascadingStrategy() Returns the strategy for cascading objects. Return value int The cascading strategy Overrides MetadataInterface::getCascadingStrategy See also CascadingStrategy File core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php, line 67 Class TypedDataMetadata Validator metadata for typed data objects. Namespace Drupal\Core\TypedData\Validation Code public function getCascadingStrategy() { // By default, never cascade into validati

ConfigImporter::setProcessedConfiguration

protected ConfigImporter::setProcessedConfiguration($collection, $op, $name) Sets a change as processed. Parameters string $collection: The configuration collection to set a change as processed for. string $op: The change operation performed, either delete, create, rename, or update. string $name: The name of the configuration processed. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 309 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Cod

FileCache::$collection

The collection identifier of this cache. Type: string File core/lib/Drupal/Component/FileCache/FileCache.php, line 29 Class FileCache Allows to cache data based on file modification dates. Namespace Drupal\Component\FileCache Code protected $collection;

FieldsOverlapException

Exception thrown if an insert query specifies a field twice. It is not allowed to specify a field as default and insert field, this exception is thrown if that is the case. Hierarchy class \Drupal\Core\Database\Query\FieldsOverlapException extends \InvalidArgumentException implements DatabaseException File core/lib/Drupal/Core/Database/Query/FieldsOverlapException.php, line 13 Namespace Drupal\Core\Database\Query Members

ImageStyleInterface::addImageEffect

public ImageStyleInterface::addImageEffect(array $configuration) Saves an image effect for this style. Parameters array $configuration: An array of image effect configuration. Return value string The image effect ID. File core/modules/image/src/ImageStyleInterface.php, line 185 Class ImageStyleInterface Provides an interface defining an image style entity. Namespace Drupal\image Code public function addImageEffect(array $configuration);

LocalActionInterface::getOptions

public LocalActionInterface::getOptions(RouteMatchInterface $route_match) Returns options for rendering a link for the local action. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value array An associative array of options. File core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 47 Class LocalActionInterface Defines an interface for menu local actions. Namespace Drupal\Core\Menu Code public function getOptions(RouteMatchInterf

ContactFormEditForm::__construct

public ContactFormEditForm::__construct(EmailValidator $email_validator, PathValidatorInterface $path_validator) Constructs a new ContactFormEditForm. Parameters \Egulias\EmailValidator\EmailValidator $email_validator: The email validator. \Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator service. File core/modules/contact/src/ContactFormEditForm.php, line 44 Class ContactFormEditForm Base form for contact form edit forms. Namespace Drupal\contact Code publi