AccessResult::cacheUntilConfigurationChanges

public AccessResult::cacheUntilConfigurationChanges(ConfigBase $configuration) Convenience method, adds the configuration object's cache tag. Parameters \Drupal\Core\Config\ConfigBase $configuration: The configuration object whose cache tag to set on the access result. Return value $this Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::addCacheableDependency() instead. File core/lib/Drupal/Core/Access/AccessResult.php, line 280 Class AccessResult Value object

TranslatableMarkup::__construct

public TranslatableMarkup::__construct($string, array $arguments = array(), array $options = array(), TranslationInterface $string_translation = NULL) Constructs a new class instance. When possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait $this->t(). Otherwise create a new \Drupal\Core\StringTranslation\TranslatableMarkup object directly. Calling the trait's t() method or instantiating a new TranslatableMarkup object serves two purposes: At run-time it translates user-v

ContactFormListBuilder

Defines a class to build a listing of contact form entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\contact\ContactFormListBuilder See also \Drupal\contact\Entity\ContactForm File core/modules/contact/src/ContactFormListBuilder.php, line 13 N

NodeType::$description

A brief description of this node type. Type: string File core/modules/node/src/Entity/NodeType.php, line 72 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $description;

TermViewsData

Provides the views data for the taxonomy entity type. Hierarchy class \Drupal\views\EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterface uses StringTranslationTraitclass \Drupal\taxonomy\TermViewsData File core/modules/taxonomy/src/TermViewsData.php, line 10 Namespace Drupal\taxonomy Members Name Modifiers Type Description EntityViewsData::$entityManager protected property The entity manager. EntityViewsData::$entityType protected property

file_unmanaged_move

file_unmanaged_move($source, $destination = NULL, $replace = FILE_EXISTS_RENAME) Moves a file to a new location without database changes or hook invocation. This is a powerful function that in many ways performs like an advanced version of rename(). Checks if $source and $destination are valid and readable/writable. Checks that $source is not equal to $destination; if they are an error is reported. If file already exists in $destination either the call will error out, replace the file or rename

OutboundPathProcessorInterface::processOutbound

public OutboundPathProcessorInterface::processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) Processes the outbound path. Parameters string $path: The path to process, with a leading slash. array $options: (optional) An associative array of additional options, with the following elements: 'query': An array of query key/value-pairs (without any URL-encoding) to append to the URL. 'fragment': A fragment identifier (named anchor

PreExistingConfigException::$extension

The name of the module that is being installed. Type: string File core/lib/Drupal/Core/Config/PreExistingConfigException.php, line 24 Class PreExistingConfigException An exception thrown if configuration with the same name already exists. Namespace Drupal\Core\Config Code protected $extension;

ThemeManager::render

public ThemeManager::render($hook, array $variables) Generates themed output. See the Default theme implementations topic for details. Parameters string $hook: The name of the theme hook to call. array $variables: An associative array of theme variables. Return value string|\Drupal\Component\Render\MarkupInterface The rendered output, or a Markup object. Overrides ThemeManagerInterface::render File core/lib/Drupal/Core/Theme/ThemeManager.php, line 130 Class ThemeManager Provides the defa

MenuLinkManager::resetLink

public MenuLinkManager::resetLink($id) Resets the values for a menu link based on the values found by discovery. Parameters string $id: The menu link plugin ID. Return value \Drupal\Core\Menu\MenuLinkInterface The menu link instance after being reset. Throws \Drupal\Component\Plugin\Exception\PluginException Thrown if the $id is not a valid, existing, plugin ID or if the link cannot be reset. Overrides MenuLinkManagerInterface::resetLink File core/lib/Drupal/Core/Menu/MenuLinkManager.php, li