Yaml

Provides a YAML serialization implementation. Allow settings to override the YAML implementation resolution. Hierarchy class \Drupal\Component\Serialization\Yaml implements SerializationInterfaceclass \Drupal\Core\Serialization\Yaml File core/lib/Drupal/Core/Serialization/Yaml.php, line 13 Namespace Drupal\Core\Serialization Members Name Modifiers Type Description Yaml::$serializer protected static property The YAML implementation to use. Yaml::decode public static

DateFormatFormBase::exists

public DateFormatFormBase::exists($entity_id, array $element) Checks for an existing date format. Parameters string|int $entity_id: The entity ID. array $element: The form element. Return value bool TRUE if this format already exists, FALSE otherwise. File core/modules/system/src/Form/DateFormatFormBase.php, line 68 Class DateFormatFormBase Provides a base form for date formats. Namespace Drupal\system\Form Code public function exists($entity_id, array $element) { return (bool) $th

Schema::dropUniqueKey

public Schema::dropUniqueKey($table, $name) Drop a unique key. Parameters $table: The table to be altered. $name: The name of the key. Return value TRUE if the key was successfully dropped, FALSE if there was no key by that name to begin with. Overrides Schema::dropUniqueKey File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 654 Class Schema PostgreSQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\pgsql Code public function dropUn

FieldItemList::getEntity

public FieldItemList::getEntity() Gets the entity that field belongs to. Return value \Drupal\Core\Entity\EntityInterface The entity object. Overrides FieldItemListInterface::getEntity File core/lib/Drupal/Core/Field/FieldItemList.php, line 46 Class FieldItemList Represents an entity field; that is, a list of field item objects. Namespace Drupal\Core\Field Code public function getEntity() { // The "parent" is the TypedData object for the entity, we need to unwrap // the actual ent

ProfileForm::__construct

public ProfileForm::__construct(EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, QueryFactory $entity_query) Constructs a new EntityForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. \Drupal\Core\Entity\Query\QueryFactory $entity_query: The entity query factory. Overrides AccountForm::__construct File core/modules/user/s

AliasManager::$storage

The alias storage service. Type: \Drupal\Core\Path\AliasStorageInterface File core/lib/Drupal/Core/Path/AliasManager.php, line 20 Class AliasManager The default alias manager implementation. Namespace Drupal\Core\Path Code protected $storage;

Connection::$target

The database target this connection is for. We need this information for later auditing and logging. Type: string|null File core/lib/Drupal/Core/Database/Connection.php, line 24 Class Connection Base Database API class. Namespace Drupal\Core\Database Code protected $target = NULL;

Url::$routeParameters

The route parameters. Type: array File core/lib/Drupal/Core/Url.php, line 53 Class Url Defines an object that holds information about a URL. Namespace Drupal\Core Code protected $routeParameters = array();

CommentTypeInterface::getDescription

public CommentTypeInterface::getDescription() Returns the comment type description. Return value string The comment-type description. File core/modules/comment/src/CommentTypeInterface.php, line 18 Class CommentTypeInterface Provides an interface defining a comment type entity. Namespace Drupal\comment Code public function getDescription();

Link::$text

The text of the link. Type: string File core/lib/Drupal/Core/Link.php, line 23 Class Link Defines an object that holds information about a link. Namespace Drupal\Core Code protected $text;