taxonomy.module

Enables the organization of content into categories. File core/modules/taxonomy/taxonomy.module Functions Name Description taxonomy_build_node_index Builds and inserts taxonomy index entries for a given node. taxonomy_check_vocabulary_hierarchy Checks and updates the hierarchy flag of a vocabulary. taxonomy_delete_node_index Deletes taxonomy index entries for a given node. taxonomy_help Implements hook_help(). taxonomy_implode_tags Implodes a list of tags of a certain

Update

General class for an abstracted UPDATE operation. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Update implements ConditionInterface uses QueryConditionTrait Related topics Database abstraction layer Allow the use of different database servers using the same code base. File core/lib/Drupal/Core/Database/Query/Update.php, line 13 Namespace Drupal\Core\Database\Query Members Name Modifiers Type Description Q

PathFormBase::buildForm

public PathFormBase::buildForm(array $form, FormStateInterface $form_state, $pid = NULL) 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/path/src/Form/PathFormBase.php, line 96 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\pat

ConfirmFormBase::getFormName

public ConfirmFormBase::getFormName() Returns the internal name used to refer to the confirmation item. Return value string The internal form name. Overrides ConfirmFormInterface::getFormName File core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 34 Class ConfirmFormBase Provides an generic base class for a confirmation form. Namespace Drupal\Core\Form Code public function getFormName() { return 'confirm'; }

MailHandler::sendMailMessages

public MailHandler::sendMailMessages(MessageInterface $message, AccountInterface $sender) Sends mail messages as appropriate for a given Message form submission. Can potentially send up to three messages as follows: To the configured recipient; Auto-reply to the sender; and Carbon copy to the sender. Parameters \Drupal\contact\MessageInterface $message: Submitted message entity. \Drupal\Core\Session\AccountInterface $sender: User that submitted the message entity form. Throws \Drupal\contac

ImageToolkitOperationBase

Provides a base class for image toolkit operation plugins. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\ImageToolkit\ImageToolkitOperationBase implements ImageToolkitOperationInterface See also \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation \Drupal\Core\ImageToolkit\ImageToolkitOperationInterf

ModulesUninstallForm::buildForm

public ModulesUninstallForm::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/system/src/Form/ModulesUninstallForm.php, line 75 Class ModulesUninstallForm Provides a form for uninstalling modules. Namespace Dr

LOCALE_TRANSLATION_DEFAULT_SERVER_PATTERN

Default location of gettext file on the translation server. See also locale_translation_default_translation_server(). File core/modules/locale/locale.module, line 102 Enables the translation of the user interface to languages other than English. Code const LOCALE_TRANSLATION_DEFAULT_SERVER_PATTERN = 'http://ftp.drupal.org/files/translations/%core/%project/%project-%version.%language.po';

Select::processSelect

public static Select::processSelect(&$element, FormStateInterface $form_state, &$complete_form) Processes a select list form element. This process callback is mandatory for select fields, since all user agents automatically preselect the first available option of single (non-multiple) select lists. Parameters array $element: The form element to process. Properties used: #multiple: (optional) Indicates whether one or more options can be selected. Defaults to FALSE. #default_value: Mus

Comment::preSave

public Comment::preSave(EntityStorageInterface $storage) Acts on an entity before the presave hook is invoked. Used before the entity is saved and before invoking the presave hook. Note that in case of translatable content entities this callback is only fired on their current translation. It is up to the developer to iterate over all translations if needed. This is different from its counterpart in the Field API, FieldItemListInterface::preSave(), which is fired on all field translations automa