VocabularyInterface::HIERARCHY_SINGLE

Denotes that one or more terms in the vocabulary has a single parent. File core/modules/taxonomy/src/VocabularyInterface.php, line 20 Class VocabularyInterface Provides an interface defining a taxonomy vocabulary entity. Namespace Drupal\taxonomy Code const HIERARCHY_SINGLE = 1;

ExceptionJsonSubscriber

Default handling for JSON errors. Hierarchy class \Drupal\Core\EventSubscriber\HttpExceptionSubscriberBase implements EventSubscriberInterfaceclass \Drupal\Core\EventSubscriber\ExceptionJsonSubscriber File core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php, line 12 Namespace Drupal\Core\EventSubscriber Members Name Modifiers Type Description ExceptionJsonSubscriber::getHandledFormats protected function Specifies the request formats this subscriber will res

Batch operations

Creates and processes batch operations. Functions allowing forms processing to be spread out over several page requests, thus ensuring that the processing does not get interrupted because of a PHP timeout, while allowing the user to receive feedback on the progress of the ongoing operations. The API is primarily designed to integrate nicely with the Form API workflow, but can also be used by non-Form API scripts (like update.php) or even simple page callbacks (which should probably be used spar

EarlyRenderingControllerWrapperSubscriber

Subscriber that wraps controllers, to handle early rendering. When controllers call drupal_render() (RendererInterface::render()) outside of a render context, we call that "early rendering". Controllers should return only render arrays, but we cannot prevent controllers from doing early rendering. The problem with early rendering is that the bubbleable metadata (cacheability & attachments) are lost. This can lead to broken pages (missing assets), stale pages (missing cache tags causing a pa

CommentStorage::getNewCommentPageNumber

public CommentStorage::getNewCommentPageNumber($total_comments, $new_comments, FieldableEntityInterface $entity, $field_name) Calculates the page number for the first new comment. Parameters int $total_comments: The total number of comments that the entity has. int $new_comments: The number of new comments that the entity has. \Drupal\Core\Entity\FieldableEntityInterface $entity: The entity to which the comments belong. string $field_name: The field name on the entity to which comments are att

ContentLanguageSettingsForm::buildForm

public ContentLanguageSettingsForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/language/src/Form/ContentLanguageSettingsForm.php, line 53 Class ContentLanguageSettingsForm Configure the content language set

ThemeHandler::$state

The state backend. Type: \Drupal\Core\State\StateInterface File core/lib/Drupal/Core/Extension/ThemeHandler.php, line 54 Class ThemeHandler Default theme handler using the config system to store installation statuses. Namespace Drupal\Core\Extension Code protected $state;

AuthenticationProviderInterface::authenticate

public AuthenticationProviderInterface::authenticate(Request $request) Authenticates the user. Parameters \Symfony\Component\HttpFoundation\Request|null $request: The request object. Return value \Drupal\Core\Session\AccountInterface|null AccountInterface - in case of a successful authentication. NULL - in case where authentication failed. File core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php, line 34 Class AuthenticationProviderInterface Interface for authenticati

NodeTranslationHandler

Defines the translation handler for nodes. Hierarchy class \Drupal\content_translation\ContentTranslationHandler implements ContentTranslationHandlerInterface, EntityHandlerInterface uses DependencySerializationTraitclass \Drupal\node\NodeTranslationHandler File core/modules/node/src/NodeTranslationHandler.php, line 12 Namespace Drupal\node Members Name Modifiers Type Description ContentTranslationHandler::$currentUser protected property The current user. ContentTrans

DatabaseStorage::$table

The database table name. Type: string File core/lib/Drupal/Core/Config/DatabaseStorage.php, line 28 Class DatabaseStorage Defines the Database storage. Namespace Drupal\Core\Config Code protected $table;