CommentManager::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/comment/src/CommentManager.php, line 60 Class CommentManager Comment manager contains common functions to manage comment fields. Namespace Drupal\comment Code protected $moduleHandler;

NodeInterface::setCreatedTime

public NodeInterface::setCreatedTime($timestamp) Sets the node creation timestamp. Parameters int $timestamp: The node creation timestamp. Return value \Drupal\node\NodeInterface The called node entity. File core/modules/node/src/NodeInterface.php, line 59 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function setCreatedTime($timestamp);

RouteMatchInterface::getRawParameter

public RouteMatchInterface::getRawParameter($parameter_name) Returns the raw value of a named route parameter. Parameters string $parameter_name: The parameter name. Return value string|null The raw (non-upcast) parameter value. NULL if the route doesn't define the parameter or if the raw parameter value can't be determined from the request. See also \Drupal\Core\Routing\RouteMatchInterface::getParameter() File core/lib/Drupal/Core/Routing/RouteMatchInterface.php, line 87 Class RouteMatc

DefaultMenuLinkTreeManipulators::checkNodeAccess

public DefaultMenuLinkTreeManipulators::checkNodeAccess(array $tree) Performs access checking for nodes in an optimized way. This manipulator should be added before the generic ::checkAccess() one, because it provides a performance optimization for ::checkAccess(). Parameters \Drupal\Core\Menu\MenuLinkTreeElement[] $tree: The menu link tree to manipulate. Return value \Drupal\Core\Menu\MenuLinkTreeElement[] The manipulated menu link tree. File core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeMani

ContentTranslationMetadataWrapper::__construct

public ContentTranslationMetadataWrapper::__construct(EntityInterface $translation, ContentTranslationHandlerInterface $handler) Initializes an instance of the content translation metadata handler. Parameters EntityInterface $translation: The entity translation to be wrapped. ContentTranslationHandlerInterface $handler: The content translation handler. File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 35 Class ContentTranslationMetadataWrapper Base clas

LanguageListBuilder::$configFactory

The configuration factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/language/src/LanguageListBuilder.php, line 38 Class LanguageListBuilder Defines a class to build a listing of language entities. Namespace Drupal\language Code protected $configFactory;

BlockLibraryController::create

public static BlockLibraryController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The s

StreamWrapperInterface::setUri

public StreamWrapperInterface::setUri($uri) Sets the absolute stream resource URI. This allows you to set the URI. Generally is only called by the factory method. Parameters string $uri: A string containing the URI that should be used for this instance. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 130 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code public function setUri($uri);

Checkbox::processCheckbox

public static Checkbox::processCheckbox(&$element, FormStateInterface $form_state, &$complete_form) Sets the #checked property of a checkbox element. File core/lib/Drupal/Core/Render/Element/Checkbox.php, line 110 Class Checkbox Provides a form element for a single checkbox. Namespace Drupal\Core\Render\Element Code public static function processCheckbox(&$element, FormStateInterface $form_state, &$complete_form) { $value = $element['#value']; $return_value = $eleme

NullStorage::getCollectionName

public NullStorage::getCollectionName() Gets the name of the current collection the storage is using. Return value string The current collection name. Overrides StorageInterface::getCollectionName File core/lib/Drupal/Core/Config/NullStorage.php, line 108 Class NullStorage Defines a stub storage. Namespace Drupal\Core\Config Code public function getCollectionName() { return ''; }