ModerationStateTransition

Defines the Moderation state transition entity. Plugin annotation @ConfigEntityType( id = "moderation_state_transition", label = @Translation("Moderation state transition"), handlers = { "list_builder" = "Drupal\content_moderation\ModerationStateTransitionListBuilder", "form" = { "add" = "Drupal\content_moderation\Form\ModerationStateTransitionForm", "edit" = "Drupal\content_moderation\Form\ModerationStateTransitionForm", "delete" = "Drupal\content_moderation\For

ConfigFieldMapper::getBaseRouteParameters

public ConfigFieldMapper::getBaseRouteParameters() Returns the route parameters for the base route the mapper is attached to. Return value array Overrides ConfigEntityMapper::getBaseRouteParameters File core/modules/config_translation/src/ConfigFieldMapper.php, line 27 Class ConfigFieldMapper Configuration mapper for fields. Namespace Drupal\config_translation Code public function getBaseRouteParameters() { $parameters = parent::getBaseRouteParameters(); $base_entity_info = $this-

LocalTaskDefault

Default object used for LocalTaskPlugins. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Menu\LocalTaskDefault implements CacheableDependencyInterface, LocalTaskInterface uses DependencySerializationTrait File core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 15 Namespace Drupal\Core\Menu Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected

YamlDiscovery

Provides discovery for YAML files within a given set of directories. This overrides the Component file decoding with the Core YAML implementation. Hierarchy class \Drupal\Component\Discovery\YamlDiscovery implements DiscoverableInterfaceclass \Drupal\Core\Discovery\YamlDiscovery File core/lib/Drupal/Core/Discovery/YamlDiscovery.php, line 13 Namespace Drupal\Core\Discovery Members Name Modifiers Type Description YamlDiscovery::$directories protected property An array of

Schema::$maxIdentifierLength

The maximum allowed length for index, primary key and constraint names. Value will usually be set to a 63 chars limit but PostgreSQL allows to higher this value before compiling, so we need to check for that. Type: int File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 39 Class Schema PostgreSQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\pgsql Code protected $maxIdentifierLength;

ConfigHandler::submitForm

public ConfigHandler::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ViewsFormBase::submitForm File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 203 Class ConfigHandler Provides a form for configuring an item in the Views UI. Namespace Drupal\views_ui\Form\Ajax

Entity::toUrl

public Entity::toUrl($rel = 'canonical', array $options = []) Gets the URL object for the entity. The entity must have an id already. Content entities usually get their IDs by saving them. URI templates might be set in the links array in an annotation, for example: links = { "canonical" = "/node/{node}", "edit-form" = "/node/{node}/edit", "version-history" = "/node/{node}/revisions" } or specified in a callback function set like: uri_callback = "comment_uri", If the path is not set in

EntityDeleteForm

Provides a generic base class for an entity deletion form. 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\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\Core\Entity\EntityDeleteForm uses EntityD

SelectExtender::__construct

public SelectExtender::__construct(SelectInterface $query, Connection $connection) File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 36 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function __construct(SelectInterface $query, Connection $connection) { $this->uniqueIdentifier = uniqid('', TRUE); $this->query = $query; $this->connection = $connection; }

NodeStorage

Defines the storage handler class for nodes. This extends the base storage class, adding required special handling for node entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Entity\ContentEntityStorageBase implements ContentEntityStorageInterface, DynamicallyFieldableEntityStorageInterfaceclass \Drupal\Core