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

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

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;

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

EntityFormModeAddForm

Provides the add form for entity display modes. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\field_ui\Form\EntityDisplayModeFormBaseclass \Drupal\field_ui\Form\EntityDisplayModeAddFormclass \Drupal\field_ui\Form\EntityFormMo

theme_get_suggestions

theme_get_suggestions($args, $base, $delimiter = '__') Generate an array of suggestions from path arguments. This is typically called for adding to the suggestions in hook_theme_suggestions_HOOK_alter() or adding to 'attributes' class key variables from within preprocess functions, when wanting to base the additional suggestions or classes on the path of the current page. Parameters $args: An array of path arguments. $base: A string identifying the base 'thing' from which more specific suggest

twig_render_template

twig_render_template($template_file, array $variables) Implements hook_render_template(). Renders a Twig template. If the Twig debug setting is enabled, HTML comments including the theme hook and template file name suggestions will surround the template markup. Parameters string $template_file: The file name of the template to render. array $variables: A keyed array of variables that will appear in the output. Return value string|\Drupal\Component\Render\MarkupInterface The output generated b

Merge

PostgreSQL implementation of \Drupal\Core\Database\Query\Merge. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Merge implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\pgsql\Merge File core/lib/Drupal/Core/Database/Driver/pgsql/Merge.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Merge::$conditionTable protected prope

LanguageManager

Class responsible for providing language support on language-unaware sites. Hierarchy class \Drupal\Core\Language\LanguageManager implements LanguageManagerInterface uses DependencySerializationTrait File core/lib/Drupal/Core/Language/LanguageManager.php, line 12 Namespace Drupal\Core\Language Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization. Depen