Tables::addJoin

protected Tables::addJoin($type, $table, $join_condition, $langcode, $delta = NULL) File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 330 Class Tables Adds tables and fields to the SQL entity query. Namespace Drupal\Core\Entity\Query\Sql Code protected function addJoin($type, $table, $join_condition, $langcode, $delta = NULL) { $arguments = array(); if ($langcode) { $entity_type_id = $this->sqlQuery->getMetaData('entity_type'); $entity_type = $this->entit

EntityRevisionParamConverter::$entityRepository

The entity repository. Type: \Drupal\Core\Entity\EntityRepositoryInterface File core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php, line 40 Class EntityRevisionParamConverter Parameter converter for upcasting entity revision IDs to full objects. Namespace Drupal\Core\ParamConverter Code protected $entityRepository;

hook_form_FORM_ID_alter

hook_form_FORM_ID_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) Provide a form-specific alteration instead of the global hook_form_alter(). Implementations are responsible for adding cache contexts/tags/max-age as needed. See https://www.drupal.org/developing/api/8/cache. Modules can implement hook_form_FORM_ID_alter() to modify a specific form, rather than implementing hook_form_alter() and checking the form ID, or using long switch statements to alter multiple

CommentAdminOverview

Provides the comments overview administration form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\comment\Form\CommentAdminOverview File core/modules/comment/src/Form/CommentAdminOverview.php, line 18 Namespace Drupal\comment\Form Members Name Modifiers Type Description Co

UserPermissionsForm::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/user/src/Form/UserPermissionsForm.php, line 36 Class UserPermissionsForm Provides the user permissions administration form. Namespace Drupal\user\Form Code protected $moduleHandler;

node.module

The core module that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern. File core/modules/node/node.module Functions Name Description node_access_grants Fetches an array of permission IDs granted to the given user ID. node_access_needs_rebuild Toggles or reads the value of a flag for rebuilding the node access grants. node_access_rebuild Rebuilds the node access database. node_access_view_all_no

taxonomy_term_uri

taxonomy_term_uri($term) Entity URI callback. File core/modules/taxonomy/taxonomy.module, line 92 Enables the organization of content into categories. Code function taxonomy_term_uri($term) { return new Url('entity.taxonomy_term.canonical', array( 'taxonomy_term' => $term->id(), )); }

Html::getUniqueId

public static Html::getUniqueId($id) Prepares a string for use as a valid HTML ID and guarantees uniqueness. This function ensures that each passed HTML ID value only exists once on the page. By tracking the already returned ids, this function enables forms, blocks, and other content to be output multiple times on the same page, without breaking (X)HTML validation. For already existing IDs, a counter is appended to the ID string. Therefore, JavaScript and CSS code should not rely on any value t

RecursiveValidator::hasMetadataFor

public RecursiveValidator::hasMetadataFor($value) File core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php, line 81 Class RecursiveValidator Defines a recursive validator for Typed Data. Namespace Drupal\Core\TypedData\Validation Code public function hasMetadataFor($value) { return $value instanceof TypedDataInterface; }

TranslateEditForm

Defines a translation edit form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\locale\Form\TranslateFormBaseclass \Drupal\locale\Form\TranslateEditForm File core/modules/locale/src/Form/TranslateEditForm.php, line 12 Namespace Drupal\locale\Form Members Name Modifiers Type