ConfigSync::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/config/src/Form/ConfigSync.php, line 102 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code protected $renderer;

StringDatabaseStorage::dbStringTable

protected StringDatabaseStorage::dbStringTable($string) Gets table name for storing string object. Parameters \Drupal\locale\StringInterface $string: The string object. Return value string The table name. File core/modules/locale/src/StringDatabaseStorage.php, line 273 Class StringDatabaseStorage Defines a class to store localized strings in the database. Namespace Drupal\locale Code protected function dbStringTable($string) { if ($string->isSource()) { return 'locales_sourc

locale_translation_build_sources

locale_translation_build_sources(array $projects = array(), array $langcodes = array()) Build translation sources. Parameters array $projects: Array of project names. Defaults to all translatable projects. array $langcodes: Array of language codes. Defaults to all translatable languages. Return value array Array of source objects. Keyed by project name and language code. See also locale_translation_source_build() File core/modules/locale/locale.translation.inc, line 132 Common API for interf

ContainerForm

Base form for container term edit forms. 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\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\taxonomy\TermFormclass \Drupal\forum\Form\ForumFormclass

locale_translation_get_projects

locale_translation_get_projects(array $project_names = array()) Get array of projects which are available for interface translation. This project data contains all projects which will be checked for available interface translations. For full functionality this function depends on Update module. When Update module is enabled the project data will contain the most recent module status; both in enabled status as in version. When Update module is disabled this function will return the last known mo

FieldWidget::$weight

An integer to determine the weight of this widget relative to other widgets in the Field UI when selecting a widget for a given field. Type: int optional File core/lib/Drupal/Core/Field/Annotation/FieldWidget.php, line 78 Class FieldWidget Defines a FieldWidget annotation object. Namespace Drupal\Core\Field\Annotation Code public $weight = NULL;

EntityFormInterface::setEntity

public EntityFormInterface::setEntity(EntityInterface $entity) Sets the form entity. Sets the form entity which will be used for populating form element defaults. Usually, the form entity gets updated by \Drupal\Core\Entity\EntityFormInterface::submit(), however this may be used to completely exchange the form entity, e.g. when preparing the rebuild of a multi-step form. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the current form should operate upon. Return value $this

ConfigTranslationDeleteForm::getCancelUrl

public ConfigTranslationDeleteForm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php, line 100 Class ConfigTranslationDeleteForm Builds a form to delete configuration translation. Namespace Drupal\config_translation\Form Code public function getCancelUrl() { return new Url($this->mapper->

TermStorage::resetCache

public TermStorage::resetCache(array $ids = NULL) Resets the internal, static entity cache. Parameters $ids: (optional) If specified, the cache is reset for the entities with the given ids only. Overrides ContentEntityStorageBase::resetCache File core/modules/taxonomy/src/TermStorage.php, line 81 Class TermStorage Defines a Controller class for taxonomy terms. Namespace Drupal\taxonomy Code public function resetCache(array $ids = NULL) { drupal_static_reset('taxonomy_term_count_node

ControllerBase::entityTypeManager

protected ControllerBase::entityTypeManager() Retrieves the entity type manager. Return value \Drupal\Core\Entity\EntityTypeManagerInterface The entity type manager. File core/lib/Drupal/Core/Controller/ControllerBase.php, line 142 Class ControllerBase Utility base class for thin controllers. Namespace Drupal\Core\Controller Code protected function entityTypeManager() { if (!isset($this->entityTypeManager)) { $this->entityTypeManager = $this->container()->get('entity