Content markers

Markers used by mark.html.twig and node_mark() to designate content. See also mark.html.twig node_mark() File core/includes/theme.inc, line 28 The theme system, which controls the output of Drupal. Constants Name Location Description MARK_NEW core/includes/theme.inc Mark content as being new. MARK_READ core/includes/theme.inc Mark content as read. MARK_UPDATED core/includes/theme.inc Mark content as being updated. RESPONSIVE_PRIORITY_LOW core/includes/theme.inc A

ContainerNotInitializedException

Exception thrown when a method is called that requires a container, but the container is not initialized yet. Hierarchy class \Drupal\Core\DependencyInjection\ContainerNotInitializedException extends \RuntimeException See also \Drupal File core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php, line 11 Namespace Drupal\Core\DependencyInjection Members

ContainerInjectionInterface::create

public static ContainerInjectionInterface::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:

ContainerInjectionInterface

Defines a common interface for dependency container injection. This interface gives classes who need services a factory method for instantiation rather than defining a new service. Hierarchy interface \Drupal\Core\DependencyInjection\ContainerInjectionInterface File core/lib/Drupal/Core/DependencyInjection/ContainerInjectionInterface.php, line 13 Namespace Drupal\Core\DependencyInjection Members Name Modifiers Type Description ContainerInjectionInterface::create public stati

ContainerForm::form

public ContainerForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides ForumForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/forum/src/Form/ContainerForm.php, line 22 Class ContainerForm Base form for container term edit forms. Namespace Drupal\forum\Form Code public function form(array $form, FormStateInterface $form_state) { $taxonomy_term = $this->

ContainerForm::buildEntity

public ContainerForm::buildEntity(array $form, FormStateInterface $form_state) Builds an updated entity object based upon the submitted form values. For building the updated entity object the form's entity is cloned and the submitted form values are copied to entity properties. The form's entity remains unchanged. Parameters array $form: A nested array form elements comprising the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value \Drupal\Core\

ContainerForm::$urlStub

Reusable url stub to use in watchdog messages. Type: string Overrides ForumForm::$urlStub File core/modules/forum/src/Form/ContainerForm.php, line 17 Class ContainerForm Base form for container term edit forms. Namespace Drupal\forum\Form Code protected $urlStub = 'container';

ContainerForm

Base form for container term edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\taxonomy\TermFormclass \Drupal\forum\Form\ForumFormclass

ContainerBuilder::__sleep

public ContainerBuilder::__sleep() File core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php, line 127 Class ContainerBuilder Drupal's dependency injection container builder. Namespace Drupal\Core\DependencyInjection Code public function __sleep() { assert(FALSE, 'The container was serialized.'); return array_keys(get_object_vars($this)); }

ContainerBuilder::__construct

public ContainerBuilder::__construct(ParameterBagInterface $parameterBag = NULL) Constructor. Parameters ParameterBagInterface $parameterBag A ParameterBagInterface instance: Overrides Container::__construct File core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php, line 29 Class ContainerBuilder Drupal's dependency injection container builder. Namespace Drupal\Core\DependencyInjection Code public function __construct(ParameterBagInterface $parameterBag = NULL) { $this->