hook_locale_translation_projects_alter

hook_locale_translation_projects_alter(&$projects) Alter the list of projects to be updated by locale's interface translation. Locale module attempts to update the translation of those modules returned by \Drupal\Update\UpdateManager::getProjects(). Using this hook, the data returned by \Drupal\Update\UpdateManager::getProjects() can be altered or extended. Modules or distributions that use a dedicated translation server should use this hook to specify the interface translation server patte

CommentTypeInterface::getTargetEntityTypeId

public CommentTypeInterface::getTargetEntityTypeId() Gets the target entity type id for this comment type. Return value string The target entity type id. File core/modules/comment/src/CommentTypeInterface.php, line 36 Class CommentTypeInterface Provides an interface defining a comment type entity. Namespace Drupal\comment Code public function getTargetEntityTypeId();

AliasManager::$cacheNeedsWriting

Whether the cache needs to be written. Type: bool File core/lib/Drupal/Core/Path/AliasManager.php, line 41 Class AliasManager The default alias manager implementation. Namespace Drupal\Core\Path Code protected $cacheNeedsWriting = FALSE;

EntityStorageBase::save

public EntityStorageBase::save(EntityInterface $entity) Saves the entity permanently. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity to save. Return value SAVED_NEW or SAVED_UPDATED is returned depending on the operation performed. Throws \Drupal\Core\Entity\EntityStorageException In case of failures, an exception is thrown. Overrides EntityStorageInterface::save File core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 384 Class EntityStorageBase A base entity st

CommentTypeForm::__construct

public CommentTypeForm::__construct(EntityManagerInterface $entity_manager, LoggerInterface $logger, CommentManagerInterface $comment_manager) Constructs a CommentTypeFormController Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Psr\Log\LoggerInterface $logger: A logger instance. \Drupal\comment\CommentManagerInterface $comment_manager: The comment manager. File core/modules/comment/src/CommentTypeForm.php, line 60 Class CommentTypeForm

status-messages.html.twig

Default theme implementation for status messages. Displays status, error, and warning messages, grouped by type. An invisible heading identifies the messages for assistive technology. Sighted users see a colored box. See http://www.w3.org/TR/WCAG-TECHS/H69.html for info. Add an ARIA label to the contentinfo area so that assistive technology user agents will better describe this landmark. Available variables: message_list: List of messages to be displayed, grouped by type. status_headings: Lis

ConfigurableLanguageManager::$configFactory

The configuration storage service. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/language/src/ConfigurableLanguageManager.php, line 27 Class ConfigurableLanguageManager Overrides default LanguageManager to provide configured languages. Namespace Drupal\language Code protected $configFactory;

FieldConfig::loadByName

public static FieldConfig::loadByName($entity_type_id, $bundle, $field_name) Loads a field config entity based on the entity type and field name. Parameters string $entity_type_id: ID of the entity type. string $bundle: Bundle name. string $field_name: Name of the field. Return value static The field config entity if one exists for the provided field name, otherwise NULL. File core/modules/field/src/Entity/FieldConfig.php, line 340 Class FieldConfig Defines the Field entity. Namespace

FieldItemBase::getEntity

public FieldItemBase::getEntity() Gets the entity that field belongs to. Return value \Drupal\Core\Entity\FieldableEntityInterface The entity object. Overrides FieldItemInterface::getEntity File core/lib/Drupal/Core/Field/FieldItemBase.php, line 60 Class FieldItemBase An entity field item. Namespace Drupal\Core\Field Code public function getEntity() { return $this->getParent()->getEntity(); }

Schema::fieldExists

public Schema::fieldExists($table, $column) Check if a column exists in the given table. Parameters $table: The name of the table in drupal (no prefixing). $name: The name of the column. Return value TRUE if the given column exists, otherwise FALSE. File core/lib/Drupal/Core/Database/Schema.php, line 244 Class Schema Provides a base implementation for Database Schema. Namespace Drupal\Core\Database Code public function fieldExists($table, $column) { $condition = $this->buildTabl