ContactFormAccessControlHandler

Defines the access control handler for the contact form entity type. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityAccessControlHandler implements EntityAccessControlHandlerInterfaceclass \Drupal\contact\ContactFormAccessControlHandler See also \Drupal\contact\Entity\ContactForm. File core/modules/contact/src/ContactFormAccessControlHandler.php, line 15 Namespace Drupal\contact Members

module.inc

API for loading and interacting with Drupal modules. File core/includes/module.inc Functions Name Description drupal_required_modules Returns an array of modules required by core. module_config_sort Sorts the configured list of enabled modules. module_load_include Loads a module include file. module_load_install Loads a module's installation hooks. module_set_weight Sets weight of a particular module. system_list Builds a list of installed themes. system_list_res

QueryFactory::get

public QueryFactory::get(EntityTypeInterface $entity_type, $conjunction) Instantiates an entity query for a given entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. string $conjunction: The operator to use to combine conditions: 'AND' or 'OR'. Return value \Drupal\Core\Entity\Query\QueryInterface An entity query for a specific configuration entity type. Overrides QueryFactoryInterface::get File core/lib/Drupal/Core/Entity/KeyValueStore/Qu

ViewsData::getViewsData

public ViewsData::getViewsData() Returns the views data. Return value array The views data. File core/modules/content_moderation/src/ViewsData.php, line 49 Class ViewsData Provides the content_moderation views integration. Namespace Drupal\content_moderation Code public function getViewsData() { $data = []; $data['content_revision_tracker']['table']['group'] = $this->t('Content moderation (tracker)'); $data['content_revision_tracker']['entity_type'] = [ 'title' => $t

StringStorageInterface::getTranslations

public StringStorageInterface::getTranslations(array $conditions = array(), array $options = array()) Loads multiple string translation objects. Parameters array $conditions: (optional) Array with conditions that will be used to filter the strings returned and may include all of the conditions defined by getStrings(). array $options: (optional) An associative array of additional options. It may contain any of the options defined by getStrings(). Return value \Drupal\locale\StringInterface[] A

Zip::__construct

public Zip::__construct($file_path) Constructs a Zip object. Parameters string $file_path: The full system path of the archive to manipulate. Only local files are supported. If the file does not yet exist, it will be created if appropriate. Throws \Drupal\Core\Archiver\ArchiverException File core/lib/Drupal/Core/Archiver/Zip.php, line 29 Class Zip Defines a archiver implementation for .zip files. Namespace Drupal\Core\Archiver Code public function __construct($file_path) { $this-&g

SelectProfileForm

Provides the profile selection form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Installer\Form\SelectProfileForm File core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php, line 11 Namespace Drupal\Core\Installer\Form Members Name Modifiers Type Description Dep

entity_load_multiple

entity_load_multiple($entity_type, array $ids = NULL, $reset = FALSE) Loads multiple entities from the database. This function should be used whenever you need to load more than one entity from the database. The entities are loaded into memory and will not require database access if loaded again during the same page request. The actual loading is done through a class that has to implement the \Drupal\Core\Entity\EntityStorageInterface interface. By default, \Drupal\Core\Entity\Sql\SqlContentEnt

MenuForm::create

public static MenuForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service contain

TermForm::form

public TermForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides ContentEntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/taxonomy/src/TermForm.php, line 16 Class TermForm Base for handler for taxonomy term edit forms. Namespace Drupal\taxonomy Code public function form(array $form, FormStateInterface $form_state) { $term = $this->entity; $voc