FilterFormat::getHtmlRestrictions

public FilterFormat::getHtmlRestrictions() Retrieve all HTML restrictions (tags and attributes) for the text format. Note that restrictions applied to the "*" tag (the wildcard tag, i.e. all tags) are treated just like any other HTML tag. That means that any restrictions applied to it are not automatically applied to all other tags. It is up to the caller to handle this in whatever way it sees fit; this way no information granularity is lost. Return value array|false A structured array as retu

EntityRepository::getTranslationFromContext

public EntityRepository::getTranslationFromContext(EntityInterface $entity, $langcode = NULL, $context = array()) Gets the entity translation to be used in the given context. This will check whether a translation for the desired language is available and if not, it will fall back to the most appropriate translation based on the provided context. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity whose translation will be returned. string $langcode: (optional) The language of th

FieldStorageConfigEditForm::form

public FieldStorageConfigEditForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php, line 60 Class FieldStorageConfigEditForm Provides a form for the "field storage" edit page. Namespace Drupal\field_ui\Form Code public function form(array $form, FormSta

MemoryBackend::__construct

public MemoryBackend::__construct($bin) Constructs a MemoryBackend object. Parameters string $bin: The cache bin for which the object is created. File core/lib/Drupal/Core/Cache/MemoryBackend.php, line 28 Class MemoryBackend Defines a memory cache implementation. Namespace Drupal\Core\Cache Code public function __construct($bin) { }

ContentEntityNullStorage

Defines a null entity storage. Used for content entity types that have no storage. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Entity\ContentEntityStorageBase implements ContentEntityStorageInterface, DynamicallyFieldableEntityStorageInterfaceclass \Drupal\Core\Entity\ContentEntityNullStorage File core/li

Connection::startTransaction

public Connection::startTransaction($name = '') Returns a new DatabaseTransaction object on this connection. Parameters string $name: (optional) The name of the savepoint. Return value \Drupal\Core\Database\Transaction A Transaction object. See also \Drupal\Core\Database\Transaction File core/lib/Drupal/Core/Database/Connection.php, line 1043 Class Connection Base Database API class. Namespace Drupal\Core\Database Code public function startTransaction($name = '') { $class = $this-

PhpBackend::storage

protected PhpBackend::storage() Gets the PHP code storage object to use. Return value \Drupal\Component\PhpStorage\PhpStorageInterface File core/lib/Drupal/Core/Cache/PhpBackend.php, line 251 Class PhpBackend Defines a PHP cache implementation. Namespace Drupal\Core\Cache Code protected function storage() { if (!isset($this->storage)) { $this->storage = PhpStorageFactory::get($this->bin); } return $this->storage; }

config_translation.module

Configuration Translation module. File core/modules/config_translation/config_translation.module Functions Name Description config_translation_config_schema_info_alter Implements hook_config_schema_info_alter(). config_translation_config_translation_info Implements hook_config_translation_info(). config_translation_entity_operation Implements hook_entity_operation(). config_translation_entity_type_alter Implements hook_entity_type_alter(). config_translation_help Imple

DiffOp::nclosing

public DiffOp::nclosing() File core/lib/Drupal/Component/Diff/Engine/DiffOp.php, line 23 Class DiffOp @todo document @private @subpackage DifferenceEngine Namespace Drupal\Component\Diff\Engine Code public function nclosing() { return $this->closing ? sizeof($this->closing) : 0; }

ConfigEntityStorageInterface

Provides an interface for configuration entity storage. Hierarchy interface \Drupal\Core\Entity\EntityStorageInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityStorageInterface File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorageInterface.php, line 10 Namespace Drupal\Core\Config\Entity Members Name Modifiers Type Description ConfigEntityStorageInterface::createFromStorageRecord public function Creates a configuration entity from storage values. ConfigEn