diff --git a/core/lib/Drupal/Core/Entity/DatabaseStorageController.php b/core/lib/Drupal/Core/Entity/DatabaseStorageController.php index ec97dd7..732119c 100644 --- a/core/lib/Drupal/Core/Entity/DatabaseStorageController.php +++ b/core/lib/Drupal/Core/Entity/DatabaseStorageController.php @@ -155,7 +155,7 @@ public function __construct($entityType) { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::resetCache(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::resetCache(). */ public function resetCache(array $ids = NULL) { if (isset($ids)) { @@ -169,7 +169,7 @@ public function resetCache(array $ids = NULL) { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::load(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::load(). */ public function load(array $ids = NULL) { $entities = array(); @@ -236,7 +236,7 @@ public function load(array $ids = NULL) { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::loadRevision(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::loadRevision(). */ public function loadRevision($revision_id) { // Build and execute the query. @@ -260,7 +260,7 @@ public function loadRevision($revision_id) { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::deleteRevision(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::deleteRevision(). */ public function deleteRevision($revision_id) { if ($revision = $this->loadRevision($revision_id)) { @@ -277,7 +277,7 @@ public function deleteRevision($revision_id) { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::loadByProperties(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::loadByProperties(). */ public function loadByProperties(array $values = array()) { // Build a query to fetch the entity IDs. @@ -438,7 +438,7 @@ protected function cacheSet($entities) { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::create(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::create(). */ public function create(array $values) { $class = $this->entityInfo['class']; @@ -459,7 +459,7 @@ public function create(array $values) { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::delete(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::delete(). */ public function delete(array $entities) { if (!$entities) { @@ -503,7 +503,7 @@ public function delete(array $entities) { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::save(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::save(). */ public function save(EntityInterface $entity) { $transaction = db_transaction(); @@ -666,7 +666,7 @@ protected function invokeHook($hook, EntityInterface $entity) { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::getFieldDefinitions(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::getFieldDefinitions(). */ public function getFieldDefinitions(array $constraints) { // @todo: Add caching for $this->entityFieldInfo. @@ -721,7 +721,7 @@ public function baseFieldDefinitions() { } /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::getQueryServiceName(). + * Implements \Drupal\Core\Entity\EntityStorageControllerInterface::getQueryServiceName(). */ public function getQueryServiceName() { return 'entity.query.field_sql_storage'; diff --git a/core/lib/Drupal/Core/Entity/Entity.php b/core/lib/Drupal/Core/Entity/Entity.php index cb947af..b8feea4 100644 --- a/core/lib/Drupal/Core/Entity/Entity.php +++ b/core/lib/Drupal/Core/Entity/Entity.php @@ -75,28 +75,28 @@ public function __construct(array $values, $entity_type) { } /** - * Implements EntityInterface::id(). + * Implements \Drupal\Core\Entity\EntityInterface::id(). */ public function id() { return isset($this->id) ? $this->id : NULL; } /** - * Implements EntityInterface::uuid(). + * Implements \Drupal\Core\Entity\EntityInterface::uuid(). */ public function uuid() { return isset($this->uuid) ? $this->uuid : NULL; } /** - * Implements EntityInterface::isNew(). + * Implements \Drupal\Core\Entity\EntityInterface::isNew(). */ public function isNew() { return !empty($this->enforceIsNew) || !$this->id(); } /** - * Implements EntityInterface::isNewRevision(). + * Implements \Drupal\Core\Entity\EntityInterface::isNewRevision(). */ public function isNewRevision() { $info = $this->entityInfo(); @@ -104,35 +104,35 @@ public function isNewRevision() { } /** - * Implements EntityInterface::enforceIsNew(). + * Implements \Drupal\Core\Entity\EntityInterface::enforceIsNew(). */ public function enforceIsNew($value = TRUE) { $this->enforceIsNew = $value; } /** - * Implements EntityInterface::setNewRevision(). + * Implements \Drupal\Core\Entity\EntityInterface::setNewRevision(). */ public function setNewRevision($value = TRUE) { $this->newRevision = $value; } /** - * Implements EntityInterface::entityType(). + * Implements \Drupal\Core\Entity\EntityInterface::entityType(). */ public function entityType() { return $this->entityType; } /** - * Implements EntityInterface::bundle(). + * Implements \Drupal\Core\Entity\EntityInterface::bundle(). */ public function bundle() { return $this->entityType; } /** - * Implements EntityInterface::label(). + * Implements \Drupal\Core\Entity\EntityInterface::label(). */ public function label($langcode = NULL) { $label = NULL; @@ -147,7 +147,7 @@ public function label($langcode = NULL) { } /** - * Implements EntityInterface::uri(). + * Implements \Drupal\Core\Entity\EntityInterface::uri(). */ public function uri() { $bundle = $this->bundle(); @@ -177,7 +177,7 @@ public function uri() { } /** - * Implements EntityInterface::get(). + * Implements \Drupal\Core\Entity\EntityInterface::get(). */ public function get($property_name, $langcode = NULL) { // @todo: Replace by EntityNG implementation once all entity types have been @@ -186,7 +186,7 @@ public function get($property_name, $langcode = NULL) { } /** - * Implements ComplexDataInterface::set(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::set(). */ public function set($property_name, $value) { // @todo: Replace by EntityNG implementation once all entity types have been @@ -195,7 +195,7 @@ public function set($property_name, $value) { } /** - * Implements ComplexDataInterface::getProperties(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getProperties(). */ public function getProperties($include_computed = FALSE) { // @todo: Replace by EntityNG implementation once all entity types have been @@ -203,7 +203,7 @@ public function getProperties($include_computed = FALSE) { } /** - * Implements ComplexDataInterface::getPropertyValues(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyValues(). */ public function getPropertyValues() { // @todo: Replace by EntityNG implementation once all entity types have been @@ -211,7 +211,7 @@ public function getPropertyValues() { } /** - * Implements ComplexDataInterface::setPropertyValues(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::setPropertyValues(). */ public function setPropertyValues($values) { // @todo: Replace by EntityNG implementation once all entity types have been @@ -219,7 +219,7 @@ public function setPropertyValues($values) { } /** - * Implements ComplexDataInterface::getPropertyDefinition(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinition(). */ public function getPropertyDefinition($name) { // @todo: Replace by EntityNG implementation once all entity types have been @@ -227,7 +227,7 @@ public function getPropertyDefinition($name) { } /** - * Implements ComplexDataInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { // @todo: Replace by EntityNG implementation once all entity types have been @@ -235,7 +235,7 @@ public function getPropertyDefinitions() { } /** - * Implements ComplexDataInterface::isEmpty(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::isEmpty(). */ public function isEmpty() { // @todo: Replace by EntityNG implementation once all entity types have been @@ -243,7 +243,7 @@ public function isEmpty() { } /** - * Implements ComplexDataInterface::getIterator(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getIterator(). */ public function getIterator() { // @todo: Replace by EntityNG implementation once all entity types have been @@ -251,7 +251,7 @@ public function getIterator() { } /** - * Implements AccessibleInterface::access(). + * Implements \Drupal\Core\TypedData\AccessibleInterface::access(). */ public function access($operation = 'view', \Drupal\user\Plugin\Core\Entity\User $account = NULL) { $method = $operation . 'Access'; @@ -261,7 +261,7 @@ public function access($operation = 'view', \Drupal\user\Plugin\Core\Entity\User } /** - * Implements TranslatableInterface::language(). + * Implements \Drupal\Core\TypedData\TranslatableInterface::language(). */ public function language() { // @todo: Replace by EntityNG implementation once all entity types have been @@ -275,7 +275,7 @@ public function language() { } /** - * Implements TranslatableInterface::getTranslation(). + * Implements \Drupal\Core\TypedData\TranslatableInterface::getTranslation(). */ public function getTranslation($langcode, $strict = TRUE) { // @todo: Replace by EntityNG implementation once all entity types have been @@ -287,14 +287,14 @@ public function getTranslation($langcode, $strict = TRUE) { * * @todo: Remove once all entity types implement the entity field API. * This is deprecated by - * Drupal\Core\TypedData\TranslatableInterface::getTranslationLanguages(). + * \Drupal\Core\TypedData\TranslatableInterface::getTranslationLanguages(). */ public function translations() { return $this->getTranslationLanguages(FALSE); } /** - * Implements TranslatableInterface::getTranslationLanguages(). + * Implements \Drupal\Core\TypedData\TranslatableInterface::getTranslationLanguages(). */ public function getTranslationLanguages($include_default = TRUE) { // @todo: Replace by EntityNG implementation once all entity types have been @@ -325,14 +325,14 @@ public function getTranslationLanguages($include_default = TRUE) { } /** - * Implements EntityInterface::save(). + * Implements \Drupal\Core\Entity\EntityInterface::save(). */ public function save() { return drupal_container()->get('plugin.manager.entity')->getStorageController($this->entityType)->save($this); } /** - * Implements EntityInterface::delete(). + * Implements \Drupal\Core\Entity\EntityInterface::delete(). */ public function delete() { if (!$this->isNew()) { @@ -341,7 +341,7 @@ public function delete() { } /** - * Implements EntityInterface::createDuplicate(). + * Implements \Drupal\Core\Entity\EntityInterface::createDuplicate(). */ public function createDuplicate() { $duplicate = clone $this; @@ -357,21 +357,21 @@ public function createDuplicate() { } /** - * Implements EntityInterface::entityInfo(). + * Implements \Drupal\Core\Entity\EntityInterface::entityInfo(). */ public function entityInfo() { return entity_get_info($this->entityType); } /** - * Implements Drupal\Core\Entity\EntityInterface::getRevisionId(). + * Implements \Drupal\Core\Entity\EntityInterface::getRevisionId(). */ public function getRevisionId() { return NULL; } /** - * Implements Drupal\Core\Entity\EntityInterface::isDefaultRevision(). + * Implements \Drupal\Core\Entity\EntityInterface::isDefaultRevision(). */ public function isDefaultRevision($new_value = NULL) { $return = $this->isDefaultRevision; @@ -382,21 +382,21 @@ public function isDefaultRevision($new_value = NULL) { } /** - * Implements Drupal\Core\Entity\EntityInterface::getExportProperties(). + * Implements \Drupal\Core\Entity\EntityInterface::getExportProperties(). */ public function getExportProperties() { return array(); } /** - * Implements Drupal\Core\Entity\EntityInterface::getBCEntity(). + * Implements \Drupal\Core\Entity\EntityInterface::getBCEntity(). */ public function getBCEntity() { return $this; } /** - * Implements Drupal\Core\Entity\EntityInterface::getOriginalEntity(). + * Implements \Drupal\Core\Entity\EntityInterface::getOriginalEntity(). */ public function getOriginalEntity() { return $this; diff --git a/core/lib/Drupal/Core/Entity/EntityAccessController.php b/core/lib/Drupal/Core/Entity/EntityAccessController.php index c3058f9..a64426a 100644 --- a/core/lib/Drupal/Core/Entity/EntityAccessController.php +++ b/core/lib/Drupal/Core/Entity/EntityAccessController.php @@ -18,28 +18,28 @@ class EntityAccessController implements EntityAccessControllerInterface { /** - * Implements EntityAccessControllerInterface::viewAccess(). + * Implements \Drupal\Core\Entity\EntityAccessControllerInterface::viewAccess(). */ public function viewAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) { return FALSE; } /** - * Implements EntityAccessControllerInterface::createAccess(). + * Implements \Drupal\Core\Entity\EntityAccessControllerInterface::createAccess(). */ public function createAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) { return FALSE; } /** - * Implements EntityAccessControllerInterface::updateAccess(). + * Implements \Drupal\Core\Entity\EntityAccessControllerInterface::updateAccess(). */ public function updateAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) { return FALSE; } /** - * Implements EntityAccessControllerInterface::deleteAccess(). + * Implements \Drupal\Core\Entity\EntityAccessControllerInterface::deleteAccess(). */ public function deleteAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) { return FALSE; diff --git a/core/lib/Drupal/Core/Entity/EntityFormController.php b/core/lib/Drupal/Core/Entity/EntityFormController.php index d35dcdf..4a03975 100644 --- a/core/lib/Drupal/Core/Entity/EntityFormController.php +++ b/core/lib/Drupal/Core/Entity/EntityFormController.php @@ -33,7 +33,7 @@ public function __construct($operation) { } /** - * Implements Drupal\Core\Entity\EntityFormControllerInterface::build(). + * Implements \Drupal\Core\Entity\EntityFormControllerInterface::build(). */ public function build(array $form, array &$form_state, EntityInterface $entity) { @@ -151,7 +151,7 @@ protected function actions(array $form, array &$form_state) { } /** - * Implements Drupal\Core\Entity\EntityFormControllerInterface::validate(). + * Implements \Drupal\Core\Entity\EntityFormControllerInterface::validate(). */ public function validate(array $form, array &$form_state) { // @todo Exploit the Field API to validate the values submitted for the @@ -170,7 +170,7 @@ public function validate(array $form, array &$form_state) { } /** - * Implements Drupal\Core\Entity\EntityFormControllerInterface::submit(). + * Implements \Drupal\Core\Entity\EntityFormControllerInterface::submit(). * * This is the default entity object builder function. It is called before any * other submit handler to build the new entity object to be passed to the @@ -219,7 +219,7 @@ public function delete(array $form, array &$form_state) { } /** - * Implements Drupal\Core\Entity\EntityFormControllerInterface::getFormLangcode(). + * Implements \Drupal\Core\Entity\EntityFormControllerInterface::getFormLangcode(). */ public function getFormLangcode(array $form_state) { $entity = $this->getEntity($form_state); @@ -245,7 +245,7 @@ public function getFormLangcode(array $form_state) { } /** - * Implements EntityFormControllerInterface::isDefaultFormLangcode(). + * Implements \Drupal\Core\Entity\EntityFormControllerInterface::isDefaultFormLangcode(). */ public function isDefaultFormLangcode(array $form_state) { return $this->getFormLangcode($form_state) == $this->getEntity($form_state)->language()->langcode; @@ -301,7 +301,7 @@ protected function submitEntityLanguage(array $form, array &$form_state) { } /** - * Implements Drupal\Core\Entity\EntityFormControllerInterface::buildEntity(). + * Implements \Drupal\Core\Entity\EntityFormControllerInterface::buildEntity(). */ public function buildEntity(array $form, array &$form_state) { $entity = clone $this->getEntity($form_state); @@ -312,14 +312,14 @@ public function buildEntity(array $form, array &$form_state) { } /** - * Implements Drupal\Core\Entity\EntityFormControllerInterface::getEntity(). + * Implements \Drupal\Core\Entity\EntityFormControllerInterface::getEntity(). */ public function getEntity(array $form_state) { return isset($form_state['entity']) ? $form_state['entity'] : NULL; } /** - * Implements Drupal\Core\Entity\EntityFormControllerInterface::setEntity(). + * Implements \Drupal\Core\Entity\EntityFormControllerInterface::setEntity(). */ public function setEntity(EntityInterface $entity, array &$form_state) { $form_state['entity'] = $entity; @@ -333,7 +333,7 @@ protected function prepareEntity(EntityInterface $entity) { } /** - * Implements Drupal\Core\Entity\EntityFormControllerInterface::getOperation(). + * Implements \Drupal\Core\Entity\EntityFormControllerInterface::getOperation(). */ public function getOperation() { return $this->operation; diff --git a/core/lib/Drupal/Core/Entity/EntityListController.php b/core/lib/Drupal/Core/Entity/EntityListController.php index 1c03fc0..354b27a 100644 --- a/core/lib/Drupal/Core/Entity/EntityListController.php +++ b/core/lib/Drupal/Core/Entity/EntityListController.php @@ -50,21 +50,21 @@ public function __construct($entity_type, EntityStorageControllerInterface $stor } /** - * Implements Drupal\Core\Entity\EntityListControllerInterface::getStorageController(). + * Implements \Drupal\Core\Entity\EntityListControllerInterface::getStorageController(). */ public function getStorageController() { return $this->storage; } /** - * Implements Drupal\Core\Entity\EntityListControllerInterface::load(). + * Implements \Drupal\Core\Entity\EntityListControllerInterface::load(). */ public function load() { return $this->storage->load(); } /** - * Implements Drupal\Core\Entity\EntityListControllerInterface::getOperations(). + * Implements \Drupal\Core\Entity\EntityListControllerInterface::getOperations(). */ public function getOperations(EntityInterface $entity) { $uri = $entity->uri(); @@ -140,7 +140,7 @@ public function buildOperations(EntityInterface $entity) { } /** - * Implements Drupal\Core\Entity\EntityListControllerInterface::render(). + * Implements \Drupal\Core\Entity\EntityListControllerInterface::render(). * * Builds the entity list as renderable array for theme_table(). * diff --git a/core/lib/Drupal/Core/Entity/EntityNG.php b/core/lib/Drupal/Core/Entity/EntityNG.php index 26f4408..e16c6fb 100644 --- a/core/lib/Drupal/Core/Entity/EntityNG.php +++ b/core/lib/Drupal/Core/Entity/EntityNG.php @@ -67,7 +67,7 @@ class EntityNG extends Entity { /** * Local cache for field definitions. * - * @see static::getPropertyDefinitions() + * @see EntityNG::getPropertyDefinitions() * * @var array */ @@ -110,14 +110,14 @@ public function __wakeup() { } /** - * Implements Drupal\Core\Entity\EntityInterface::id(). + * Implements \Drupal\Core\Entity\EntityInterface::id(). */ public function id() { return $this->id->value; } /** - * Implements Drupal\Core\Entity\EntityInterface::bundle(). + * Implements \Drupal\Core\Entity\EntityInterface::bundle(). */ public function bundle() { return $this->bundle; diff --git a/core/lib/Drupal/Core/Entity/EntityRenderController.php b/core/lib/Drupal/Core/Entity/EntityRenderController.php index 2194b1f..53457aa 100644 --- a/core/lib/Drupal/Core/Entity/EntityRenderController.php +++ b/core/lib/Drupal/Core/Entity/EntityRenderController.php @@ -25,7 +25,7 @@ public function __construct($entity_type) { } /** - * Implements Drupal\Core\Entity\EntityRenderControllerInterface::buildContent(). + * Implements \Drupal\Core\Entity\EntityRenderControllerInterface::buildContent(). */ public function buildContent(array $entities, array $displays, $view_mode, $langcode = NULL) { field_attach_prepare_view($this->entityType, $entities, $displays, $langcode); @@ -82,7 +82,7 @@ protected function getBuildDefaults(EntityInterface $entity, $view_mode, $langco protected function alterBuild(array &$build, EntityInterface $entity, EntityDisplay $display, $view_mode, $langcode = NULL) { } /** - * Implements Drupal\Core\Entity\EntityRenderControllerInterface::view(). + * Implements \Drupal\Core\Entity\EntityRenderControllerInterface::view(). */ public function view(EntityInterface $entity, $view_mode = 'full', $langcode = NULL) { $buildList = $this->viewMultiple(array($entity), $view_mode, $langcode); @@ -90,7 +90,7 @@ public function view(EntityInterface $entity, $view_mode = 'full', $langcode = N } /** - * Implements Drupal\Core\Entity\EntityRenderControllerInterface::viewMultiple(). + * Implements \Drupal\Core\Entity\EntityRenderControllerInterface::viewMultiple(). */ public function viewMultiple(array $entities = array(), $view_mode = 'full', $langcode = NULL) { if (!isset($langcode)) { diff --git a/core/lib/Drupal/Core/Entity/Field/FieldInterface.php b/core/lib/Drupal/Core/Entity/Field/FieldInterface.php index 170feab..81f3828 100644 --- a/core/lib/Drupal/Core/Entity/Field/FieldInterface.php +++ b/core/lib/Drupal/Core/Entity/Field/FieldInterface.php @@ -37,28 +37,28 @@ public function get($property_name); /** - * Magic getter: Delegates to the first item. + * Magic method: Gets a property value of to the first field item. * * @see \Drupal\Core\Entity\Field\FieldItemInterface::__get() */ public function __get($property_name); /** - * Magic setter: Delegates to the first item. + * Magic method: Sets a property value of the first field item. * * @see \Drupal\Core\Entity\Field\FieldItemInterface::__set() */ public function __set($property_name, $value); /** - * Magic method for isset(): Delegates to the first item. + * Magic method: Determines whether a property of the first field item is set. * * @see \Drupal\Core\Entity\Field\FieldItemInterface::__isset() */ public function __isset($property_name); /** - * Magic method for unset(): Delegates to the first item. + * Magic method: Unsets a property of the first field item. * * @see \Drupal\Core\Entity\Field\FieldItemInterface::__unset() */ diff --git a/core/lib/Drupal/Core/Entity/Field/FieldItemBase.php b/core/lib/Drupal/Core/Entity/Field/FieldItemBase.php index 77a89c9..4159f04 100644 --- a/core/lib/Drupal/Core/Entity/Field/FieldItemBase.php +++ b/core/lib/Drupal/Core/Entity/Field/FieldItemBase.php @@ -61,7 +61,7 @@ public function __construct(array $definition, $name = NULL, ContextAwareInterfa } /** - * Overrides TypedData::getValue(). + * Overrides \Drupal\Core\TypedData\TypedData::getValue(). */ public function getValue() { $values = array(); @@ -72,7 +72,7 @@ public function getValue() { } /** - * Overrides TypedData::setValue(). + * Overrides \Drupal\Core\TypedData\TypedData::setValue(). * * @param array|null $values * An array of property values. @@ -98,7 +98,7 @@ public function setValue($values) { } /** - * Overrides TypedData::getString(). + * Overrides \Drupal\Core\TypedData\TypedData::getString(). */ public function getString() { $strings = array(); @@ -109,7 +109,7 @@ public function getString() { } /** - * Implements ComplexDataInterface::get(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::get(). */ public function get($property_name) { if (!isset($this->properties[$property_name])) { @@ -119,21 +119,21 @@ public function get($property_name) { } /** - * Implements ComplexDataInterface::set(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::set(). */ public function set($property_name, $value) { $this->get($property_name)->setValue($value); } /** - * Implements FieldItemInterface::__get(). + * Implements \Drupal\Core\Entity\Field\FieldItemInterface::__get(). */ public function __get($name) { return $this->get($name)->getValue(); } /** - * Implements FieldItemInterface::__set(). + * Implements \Drupal\Core\Entity\Field\FieldItemInterface::__set(). */ public function __set($name, $value) { // Support setting values via property objects. @@ -144,14 +144,14 @@ public function __set($name, $value) { } /** - * Implements FieldItemInterface::__isset(). + * Implements \Drupal\Core\Entity\Field\FieldItemInterface::__isset(). */ public function __isset($name) { return isset($this->properties[$name]) && $this->properties[$name]->getValue() !== NULL; } /** - * Implements FieldItemInterface::__unset(). + * Implements \Drupal\Core\Entity\Field\FieldItemInterface::__unset(). */ public function __unset($name) { if (isset($this->properties[$name])) { diff --git a/core/lib/Drupal/Core/Entity/Field/FieldItemInterface.php b/core/lib/Drupal/Core/Entity/Field/FieldItemInterface.php index 31502d7..d115be5 100644 --- a/core/lib/Drupal/Core/Entity/Field/FieldItemInterface.php +++ b/core/lib/Drupal/Core/Entity/Field/FieldItemInterface.php @@ -26,7 +26,7 @@ interface FieldItemInterface extends ComplexDataInterface, ContextAwareInterface, TypedDataInterface { /** - * Magic getter: Gets a property value. + * Magic method: Gets a property value. * * @param $property_name * The name of the property to get; e.g., 'title' or 'name'. @@ -40,7 +40,7 @@ public function __get($property_name); /** - * Magic setter: Sets a property value. + * Magic method: Sets a property value. * * @param $property_name * The name of the property to set; e.g., 'title' or 'name'. @@ -55,7 +55,7 @@ public function __get($property_name); public function __set($property_name, $value); /** - * Magic method for isset(). + * Magic method: Determines whether a property is set. * * @param $property_name * The name of the property to get; e.g., 'title' or 'name'. @@ -66,7 +66,7 @@ public function __set($property_name, $value); public function __isset($property_name); /** - * Magic method for unset(). + * Magic method: Unsets a property. * * @param $property_name * The name of the property to get; e.g., 'title' or 'name'. diff --git a/core/lib/Drupal/Core/Entity/Field/Type/BooleanItem.php b/core/lib/Drupal/Core/Entity/Field/Type/BooleanItem.php index c808b1b..f73b013 100644 --- a/core/lib/Drupal/Core/Entity/Field/Type/BooleanItem.php +++ b/core/lib/Drupal/Core/Entity/Field/Type/BooleanItem.php @@ -24,7 +24,7 @@ class BooleanItem extends FieldItemBase { static $propertyDefinitions; /** - * Implements ComplexDataInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { diff --git a/core/lib/Drupal/Core/Entity/Field/Type/DateItem.php b/core/lib/Drupal/Core/Entity/Field/Type/DateItem.php index d55ebe2..33b4ec4 100644 --- a/core/lib/Drupal/Core/Entity/Field/Type/DateItem.php +++ b/core/lib/Drupal/Core/Entity/Field/Type/DateItem.php @@ -24,7 +24,7 @@ class DateItem extends FieldItemBase { static $propertyDefinitions; /** - * Implements ComplexDataInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { diff --git a/core/lib/Drupal/Core/Entity/Field/Type/EntityReferenceItem.php b/core/lib/Drupal/Core/Entity/Field/Type/EntityReferenceItem.php index 965b720..f1b07e8 100644 --- a/core/lib/Drupal/Core/Entity/Field/Type/EntityReferenceItem.php +++ b/core/lib/Drupal/Core/Entity/Field/Type/EntityReferenceItem.php @@ -28,7 +28,7 @@ class EntityReferenceItem extends FieldItemBase { static $propertyDefinitions; /** - * Implements ComplexDataInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { // Definitions vary by entity type, so key them by entity type. diff --git a/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php b/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php index c581a07..122762f 100644 --- a/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php +++ b/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php @@ -60,7 +60,7 @@ public function setStrictMode($strict = TRUE) { } /** - * Overrides TypedData::getValue(). + * Overrides \Drupal\Core\TypedData\TypedData::getValue(). */ public function getValue() { // The plain value of the translation is the array of translated field @@ -69,14 +69,14 @@ public function getValue() { } /** - * Overrides TypedData::setValue(). + * Overrides \Drupal\Core\TypedData\TypedData::setValue(). */ public function setValue($values) { $this->fields = $values; } /** - * Overrides TypedData::getString(). + * Overrides \Drupal\Core\TypedData\TypedData::getString(). */ public function getString() { $strings = array(); @@ -87,7 +87,7 @@ public function getString() { } /** - * Implements ComplexDataInterface::get(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::get(). */ public function get($property_name) { $definitions = $this->getPropertyDefinitions(); @@ -98,14 +98,14 @@ public function get($property_name) { } /** - * Implements ComplexDataInterface::set(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::set(). */ public function set($property_name, $value) { $this->get($property_name)->setValue($value); } /** - * Implements ComplexDataInterface::getProperties(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getProperties(). */ public function getProperties($include_computed = FALSE) { $properties = array(); @@ -132,14 +132,14 @@ public function __set($name, $value) { } /** - * Implements IteratorAggregate::getIterator(). + * Implements \IteratorAggregate::getIterator(). */ public function getIterator() { return new ArrayIterator($this->getProperties()); } /** - * Implements ComplexDataInterface::getPropertyDefinition(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinition(). */ public function getPropertyDefinition($name) { $definitions = $this->getPropertyDefinitions(); @@ -152,7 +152,7 @@ public function getPropertyDefinition($name) { } /** - * Implements ComplexDataInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { $definitions = array(); @@ -165,14 +165,14 @@ public function getPropertyDefinitions() { } /** - * Implements ComplexDataInterface::getPropertyValues(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyValues(). */ public function getPropertyValues() { return $this->getValue(); } /** - * Implements ComplexDataInterface::setPropertyValues(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::setPropertyValues(). */ public function setPropertyValues($values) { foreach ($values as $name => $value) { @@ -181,7 +181,7 @@ public function setPropertyValues($values) { } /** - * Implements ComplexDataInterface::isEmpty(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::isEmpty(). */ public function isEmpty() { foreach ($this->getProperties() as $property) { @@ -193,7 +193,7 @@ public function isEmpty() { } /** - * Implements AccessibleInterface::access(). + * Implements \Drupal\Core\TypedData\AccessibleInterface::access(). */ public function access($operation = 'view', \Drupal\user\Plugin\Core\Entity\User $account = NULL) { $method = $operation . 'Access'; diff --git a/core/lib/Drupal/Core/Entity/Field/Type/EntityWrapper.php b/core/lib/Drupal/Core/Entity/Field/Type/EntityWrapper.php index cd8cda2..89179d1 100644 --- a/core/lib/Drupal/Core/Entity/Field/Type/EntityWrapper.php +++ b/core/lib/Drupal/Core/Entity/Field/Type/EntityWrapper.php @@ -61,7 +61,7 @@ public function __construct(array $definition, $name = NULL, ContextAwareInterfa } /** - * Overrides TypedData::getValue(). + * Overrides \Drupal\Core\TypedData\TypedData::getValue(). */ public function getValue() { $source = $this->getIdSource(); @@ -79,7 +79,7 @@ protected function getIdSource() { } /** - * Overrides TypedData::setValue(). + * Overrides \Drupal\Core\TypedData\TypedData::setValue(). * * Both the entity ID and the entity object may be passed as value. */ @@ -103,7 +103,7 @@ public function setValue($value) { } /** - * Overrides TypedData::getString(). + * Overrides \Drupal\Core\TypedData\TypedData::getString(). */ public function getString() { if ($entity = $this->getValue()) { @@ -113,7 +113,7 @@ public function getString() { } /** - * Implements IteratorAggregate::getIterator(). + * Implements \IteratorAggregate::getIterator(). */ public function getIterator() { if ($entity = $this->getValue()) { @@ -123,7 +123,7 @@ public function getIterator() { } /** - * Implements ComplexDataInterface::get(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::get(). */ public function get($property_name) { // @todo: Allow navigating through the tree without data as well. @@ -133,14 +133,14 @@ public function get($property_name) { } /** - * Implements ComplexDataInterface::set(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::set(). */ public function set($property_name, $value) { $this->get($property_name)->setValue($value); } /** - * Implements ComplexDataInterface::getProperties(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getProperties(). */ public function getProperties($include_computed = FALSE) { if ($entity = $this->getValue()) { @@ -150,7 +150,7 @@ public function getProperties($include_computed = FALSE) { } /** - * Implements ComplexDataInterface::getPropertyDefinition(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinition(). */ public function getPropertyDefinition($name) { $definitions = $this->getPropertyDefinitions(); @@ -163,7 +163,7 @@ public function getPropertyDefinition($name) { } /** - * Implements ComplexDataInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { // @todo: Support getting definitions if multiple bundles are specified. @@ -171,7 +171,7 @@ public function getPropertyDefinitions() { } /** - * Implements ComplexDataInterface::getPropertyValues(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyValues(). */ public function getPropertyValues() { if ($entity = $this->getValue()) { @@ -181,7 +181,7 @@ public function getPropertyValues() { } /** - * Implements ComplexDataInterface::setPropertyValues(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::setPropertyValues(). */ public function setPropertyValues($values) { if ($entity = $this->getValue()) { @@ -190,7 +190,7 @@ public function setPropertyValues($values) { } /** - * Implements ComplexDataInterface::isEmpty(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::isEmpty(). */ public function isEmpty() { return (bool) $this->getValue(); diff --git a/core/lib/Drupal/Core/Entity/Field/Type/Field.php b/core/lib/Drupal/Core/Entity/Field/Type/Field.php index c046773..34baa61 100644 --- a/core/lib/Drupal/Core/Entity/Field/Type/Field.php +++ b/core/lib/Drupal/Core/Entity/Field/Type/Field.php @@ -50,7 +50,7 @@ public function __construct(array $definition, $name = NULL, ContextAwareInterfa } /** - * Overrides TypedData::getValue(). + * Overrides \Drupal\Core\TypedData\TypedData::getValue(). */ public function getValue() { if (isset($this->list)) { @@ -68,7 +68,7 @@ public function getValue() { } /** - * Overrides TypedData::setValue(). + * Overrides \Drupal\Core\TypedData\TypedData::setValue(). * * @param array|null $values * An array of values of the field items, or NULL to unset the field. @@ -104,7 +104,7 @@ public function setValue($values) { } /** - * Overrides TypedData::getString(). + * Overrides \Drupal\Core\TypedData\TypedData::getString(). */ public function getString() { $strings = array(); @@ -117,14 +117,14 @@ public function getString() { } /** - * Implements ArrayAccess::offsetExists(). + * Implements \ArrayAccess::offsetExists(). */ public function offsetExists($offset) { return isset($this->list) && array_key_exists($offset, $this->list); } /** - * Implements ArrayAccess::offsetUnset(). + * Implements \ArrayAccess::offsetUnset(). */ public function offsetUnset($offset) { if (isset($this->list)) { @@ -133,7 +133,7 @@ public function offsetUnset($offset) { } /** - * Implements ArrayAccess::offsetGet(). + * Implements \ArrayAccess::offsetGet(). */ public function offsetGet($offset) { if (!is_numeric($offset)) { @@ -201,49 +201,49 @@ public function count() { } /** - * Implements FieldInterface::getPropertyDefinition(). + * Implements \Drupal\Core\Entity\Field\FieldInterface::getPropertyDefinition(). */ public function getPropertyDefinition($name) { return $this->offsetGet(0)->getPropertyDefinition($name); } /** - * Implements FieldInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\Entity\Field\FieldInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { return $this->offsetGet(0)->getPropertyDefinitions(); } /** - * Implements FieldInterface::__get(). + * Implements \Drupal\Core\Entity\Field\FieldInterface::__get(). */ public function __get($property_name) { return $this->offsetGet(0)->get($property_name)->getValue(); } /** - * Implements FieldInterface::get(). + * Implements \Drupal\Core\Entity\Field\FieldInterface::get(). */ public function get($property_name) { return $this->offsetGet(0)->get($property_name); } /** - * Implements FieldInterface::__set(). + * Implements \Drupal\Core\Entity\Field\FieldInterface::__set(). */ public function __set($property_name, $value) { $this->offsetGet(0)->__set($property_name, $value); } /** - * Implements FieldInterface::__isset(). + * Implements \Drupal\Core\Entity\Field\FieldInterface::__isset(). */ public function __isset($property_name) { return $this->offsetGet(0)->__isset($property_name); } /** - * Implements FieldInterface::__unset(). + * Implements \Drupal\Core\Entity\Field\FieldInterface::__unset(). */ public function __unset($property_name) { return $this->offsetGet(0)->__unset($property_name); diff --git a/core/lib/Drupal/Core/Entity/Field/Type/IntegerItem.php b/core/lib/Drupal/Core/Entity/Field/Type/IntegerItem.php index fe84eb7..b58529e 100644 --- a/core/lib/Drupal/Core/Entity/Field/Type/IntegerItem.php +++ b/core/lib/Drupal/Core/Entity/Field/Type/IntegerItem.php @@ -24,7 +24,7 @@ class IntegerItem extends FieldItemBase { static $propertyDefinitions; /** - * Implements ComplexDataInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { diff --git a/core/lib/Drupal/Core/Entity/Field/Type/LanguageItem.php b/core/lib/Drupal/Core/Entity/Field/Type/LanguageItem.php index 2492a1d..b3765b1 100644 --- a/core/lib/Drupal/Core/Entity/Field/Type/LanguageItem.php +++ b/core/lib/Drupal/Core/Entity/Field/Type/LanguageItem.php @@ -25,7 +25,7 @@ class LanguageItem extends FieldItemBase { static $propertyDefinitions; /** - * Implements ComplexDataInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { diff --git a/core/lib/Drupal/Core/Entity/Field/Type/StringItem.php b/core/lib/Drupal/Core/Entity/Field/Type/StringItem.php index f967e62..7a6fdc0 100644 --- a/core/lib/Drupal/Core/Entity/Field/Type/StringItem.php +++ b/core/lib/Drupal/Core/Entity/Field/Type/StringItem.php @@ -24,7 +24,7 @@ class StringItem extends FieldItemBase { static $propertyDefinitions; /** - * Implements ComplexDataInterface::getPropertyDefinitions(). + * Implements \Drupal\Core\TypedData\ComplexDataInterface::getPropertyDefinitions(). */ public function getPropertyDefinitions() { diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionBase.php b/core/lib/Drupal/Core/Entity/Query/ConditionBase.php index 3edaf9a..2c428a4 100644 --- a/core/lib/Drupal/Core/Entity/Query/ConditionBase.php +++ b/core/lib/Drupal/Core/Entity/Query/ConditionBase.php @@ -30,21 +30,21 @@ public function __construct($conjunction = 'AND') { } /** - * Implements Drupal\Core\Entity\Query\ConditionInterface::getConjunction(). + * Implements \Drupal\Core\Entity\Query\ConditionInterface::getConjunction(). */ public function getConjunction() { return $this->conjunction; } /** - * Implements Countable::count(). + * Implements \Countable::count(). */ public function count() { return count($this->conditions) - 1; } /** - * Implements Drupal\Core\Entity\Query\ConditionInterface::compile(). + * Implements \Drupal\Core\Entity\Query\ConditionInterface::compile(). */ public function condition($field, $value = NULL, $operator = NULL, $langcode = NULL) { $this->conditions[] = array( @@ -58,7 +58,7 @@ public function condition($field, $value = NULL, $operator = NULL, $langcode = N } /** - * Implements Drupal\Core\Entity\Query\ConditionInterface::conditions(). + * Implements \Drupal\Core\Entity\Query\ConditionInterface::conditions(). */ public function &conditions() { return $this->conditions; diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php b/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php index d48e7d5..d55cced 100644 --- a/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php +++ b/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php @@ -21,7 +21,7 @@ public function getConjunction(); /** - * Implements Countable::count(). + * Implements \Countable::count(). * * Returns the size of this conditional. The size of the conditional is the * size of its conditional array minus one, because one element is the the diff --git a/core/lib/Drupal/Core/Entity/Query/QueryBase.php b/core/lib/Drupal/Core/Entity/Query/QueryBase.php index 2e92f4b..77dc07d 100644 --- a/core/lib/Drupal/Core/Entity/Query/QueryBase.php +++ b/core/lib/Drupal/Core/Entity/Query/QueryBase.php @@ -84,14 +84,14 @@ public function __construct($entity_type, $conjunction) { } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::getEntityType(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::getEntityType(). */ public function getEntityType() { return $this->entityType; } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::condition(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::condition(). */ public function condition($property, $value = NULL, $operator = NULL, $langcode = NULL) { $this->condition->condition($property, $value, $operator, $langcode); @@ -99,7 +99,7 @@ public function condition($property, $value = NULL, $operator = NULL, $langcode } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::exists(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::exists(). */ public function exists($property, $langcode = NULL) { $this->condition->exists($property, $langcode); @@ -107,7 +107,7 @@ public function exists($property, $langcode = NULL) { } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::notExists(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::notExists(). */ public function notExists($property, $langcode = NULL) { $this->condition->notExists($property, $langcode); @@ -115,7 +115,7 @@ public function notExists($property, $langcode = NULL) { } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::range(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::range(). */ public function range($start = NULL, $length = NULL) { $this->range = array( @@ -126,21 +126,21 @@ public function range($start = NULL, $length = NULL) { } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::andConditionGroup(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::andConditionGroup(). */ public function andConditionGroup() { return $this->conditionGroupFactory('and'); } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::orConditionGroup(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::orConditionGroup(). */ public function orConditionGroup() { return $this->conditionGroupFactory('or'); } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::sort(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::sort(). */ public function sort($property, $direction = 'ASC', $langcode = NULL) { $this->sort[$property] = array( @@ -151,7 +151,7 @@ public function sort($property, $direction = 'ASC', $langcode = NULL) { } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::count(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::count(). */ public function count() { $this->count = TRUE; @@ -159,7 +159,7 @@ public function count() { } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::accessCheck(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::accessCheck(). */ public function accessCheck($access_check = TRUE) { $this->accessCheck = $access_check; @@ -167,7 +167,7 @@ public function accessCheck($access_check = TRUE) { } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::age(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::age(). */ public function age($age = FIELD_LOAD_CURRENT) { $this->age = $age; @@ -175,7 +175,7 @@ public function age($age = FIELD_LOAD_CURRENT) { } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::pager(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::pager(). */ public function pager($limit = 10, $element = NULL) { // Even when not using SQL, storing the element PagerSelectExtender is as @@ -212,7 +212,7 @@ protected function initializePager() { } /** - * Implements Drupal\Core\Entity\Query\QueryInterface::tableSort(). + * Implements \Drupal\Core\Entity\Query\QueryInterface::tableSort(). */ public function tableSort(&$headers) { // If 'field' is not initialized, the header columns aren't clickable. @@ -241,7 +241,7 @@ function __clone() { } /** - * Implements Drupal\Core\Database\Query\AlterableInterface::addTag(). + * Implements \Drupal\Core\Database\Query\AlterableInterface::addTag(). */ public function addTag($tag) { $this->alterTags[$tag] = 1; @@ -249,28 +249,28 @@ public function addTag($tag) { } /** - * Implements Drupal\Core\Database\Query\AlterableInterface::hasTag(). + * Implements \Drupal\Core\Database\Query\AlterableInterface::hasTag(). */ public function hasTag($tag) { return isset($this->alterTags[$tag]); } /** - * Implements Drupal\Core\Database\Query\AlterableInterface::hasAllTags(). + * Implements \Drupal\Core\Database\Query\AlterableInterface::hasAllTags(). */ public function hasAllTags() { return !(boolean)array_diff(func_get_args(), array_keys($this->alterTags)); } /** - * Implements Drupal\Core\Database\Query\AlterableInterface::hasAnyTag(). + * Implements \Drupal\Core\Database\Query\AlterableInterface::hasAnyTag(). */ public function hasAnyTag() { return (boolean)array_intersect(func_get_args(), array_keys($this->alterTags)); } /** - * Implements Drupal\Core\Database\Query\AlterableInterface::addMetaData(). + * Implements \Drupal\Core\Database\Query\AlterableInterface::addMetaData(). */ public function addMetaData($key, $object) { $this->alterMetaData[$key] = $object; @@ -278,7 +278,7 @@ public function addMetaData($key, $object) { } /** - * Implements Drupal\Core\Database\Query\AlterableInterface::getMetaData(). + * Implements \Drupal\Core\Database\Query\AlterableInterface::getMetaData(). */ public function getMetaData($key) { return isset($this->alterMetaData[$key]) ? $this->alterMetaData[$key] : NULL; diff --git a/core/lib/Drupal/Core/TypedData/ContextAwareTypedData.php b/core/lib/Drupal/Core/TypedData/ContextAwareTypedData.php index dc95294..29d07cd 100644 --- a/core/lib/Drupal/Core/TypedData/ContextAwareTypedData.php +++ b/core/lib/Drupal/Core/TypedData/ContextAwareTypedData.php @@ -53,7 +53,7 @@ public function __construct(array $definition, $name = NULL, ContextAwareInterfa } /** - * Implements ContextAwareInterface::setContext(). + * Implements \Drupal\Core\TypedData\ContextAwareInterface::setContext(). */ public function setContext($name = NULL, ContextAwareInterface $parent = NULL) { $this->parent = $parent; @@ -61,14 +61,14 @@ public function setContext($name = NULL, ContextAwareInterface $parent = NULL) { } /** - * Implements ContextAwareInterface::getName(). + * Implements \Drupal\Core\TypedData\ContextAwareInterface::getName(). */ public function getName() { return $this->name; } /** - * Implements ContextAwareInterface::getRoot(). + * Implements \Drupal\Core\TypedData\ContextAwareInterface::getRoot(). */ public function getRoot() { if (isset($this->parent)) { @@ -79,7 +79,7 @@ public function getRoot() { } /** - * Implements ContextAwareInterface::getPropertyPath(). + * Implements \Drupal\Core\TypedData\ContextAwareInterface::getPropertyPath(). */ public function getPropertyPath() { if (isset($this->parent)) { @@ -97,7 +97,7 @@ public function getPropertyPath() { } /** - * Implements ContextAwareInterface::getParent(). + * Implements \Drupal\Core\TypedData\ContextAwareInterface::getParent(). * * @return \Drupal\Core\Entity\Field\FieldInterface */ diff --git a/core/lib/Drupal/Core/TypedData/TypedData.php b/core/lib/Drupal/Core/TypedData/TypedData.php index a04b9f0..35e168c 100644 --- a/core/lib/Drupal/Core/TypedData/TypedData.php +++ b/core/lib/Drupal/Core/TypedData/TypedData.php @@ -35,42 +35,42 @@ public function __construct(array $definition) { } /** - * Implements TypedDataInterface::getType(). + * Implements \Drupal\Core\TypedData\TypedDataInterface::getType(). */ public function getType() { return $this->definition['type']; } /** - * Implements TypedDataInterface::getDefinition(). + * Implements \Drupal\Core\TypedData\TypedDataInterface::getDefinition(). */ public function getDefinition() { return $this->definition; } /** - * Implements TypedDataInterface::getValue(). + * Implements \Drupal\Core\TypedData\TypedDataInterface::getValue(). */ public function getValue() { return $this->value; } /** - * Implements TypedDataInterface::setValue(). + * Implements \Drupal\Core\TypedData\TypedDataInterface::setValue(). */ public function setValue($value) { $this->value = $value; } /** - * Implements TypedDataInterface::getString(). + * Implements \Drupal\Core\TypedData\TypedDataInterface::getString(). */ public function getString() { return (string) $this->getValue(); } /** - * Implements TypedDataInterface::validate(). + * Implements \Drupal\Core\TypedData\TypedDataInterface::validate(). */ public function validate() { // TODO: Implement validate() method. diff --git a/core/lib/Drupal/Core/TypedData/TypedDataFactory.php b/core/lib/Drupal/Core/TypedData/TypedDataFactory.php index 39ebbce..ef67cf2 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataFactory.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataFactory.php @@ -20,7 +20,7 @@ class TypedDataFactory extends DefaultFactory { /** - * Implements Drupal\Component\Plugin\Factory\FactoryInterface::createInstance(). + * Implements \Drupal\Component\Plugin\Factory\FactoryInterface::createInstance(). * * @param string $plugin_id * The id of a plugin, i.e. the data type. diff --git a/core/lib/Drupal/Core/TypedData/TypedDataManager.php b/core/lib/Drupal/Core/TypedData/TypedDataManager.php index 9f1c9c5..e978619 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataManager.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataManager.php @@ -30,7 +30,7 @@ public function __construct() { } /** - * Implements Drupal\Component\Plugin\PluginManagerInterface::createInstance(). + * Implements \Drupal\Component\Plugin\PluginManagerInterface::createInstance(). * * @param string $plugin_id * The id of a plugin, i.e. the data type. diff --git a/core/modules/picture/lib/Drupal/picture/Plugin/Core/Entity/PictureMapping.php b/core/modules/picture/lib/Drupal/picture/Plugin/Core/Entity/PictureMapping.php index 2710303..275ecb0 100644 --- a/core/modules/picture/lib/Drupal/picture/Plugin/Core/Entity/PictureMapping.php +++ b/core/modules/picture/lib/Drupal/picture/Plugin/Core/Entity/PictureMapping.php @@ -95,7 +95,7 @@ public function save() { } /** - * Implements EntityInterface::createDuplicate(). + * Implements \Drupal\Core\Entity\EntityInterface::createDuplicate(). */ public function createDuplicate() { return entity_create('picture_mapping', array( diff --git a/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestAccessController.php b/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestAccessController.php index c928587..9b66b03 100644 --- a/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestAccessController.php +++ b/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestAccessController.php @@ -17,7 +17,7 @@ class EntityTestAccessController implements EntityAccessControllerInterface { /** - * Implements EntityAccessControllerInterface::viewAccess(). + * Implements \Drupal\Core\Entity\EntityAccessControllerInterface::viewAccess(). */ public function viewAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) { if ($langcode != LANGUAGE_DEFAULT) { @@ -27,21 +27,21 @@ public function viewAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT } /** - * Implements EntityAccessControllerInterface::createAccess(). + * Implements \Drupal\Core\Entity\EntityAccessControllerInterface::createAccess(). */ public function createAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) { return TRUE; } /** - * Implements EntityAccessControllerInterface::updateAccess(). + * Implements \Drupal\Core\Entity\EntityAccessControllerInterface::updateAccess(). */ public function updateAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) { return TRUE; } /** - * Implements EntityAccessControllerInterface::deleteAccess(). + * Implements \Drupal\Core\Entity\EntityAccessControllerInterface::deleteAccess(). */ public function deleteAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) { return TRUE; diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Type/TaxonomyTermReferenceItem.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Type/TaxonomyTermReferenceItem.php index d150615..e7a3f40 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Type/TaxonomyTermReferenceItem.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Type/TaxonomyTermReferenceItem.php @@ -17,7 +17,7 @@ class TaxonomyTermReferenceItem extends FieldItemBase { /** * Property definitions of the contained properties. * - * @see static::getPropertyDefinitions() + * @see TaxonomyTermReferenceItem::getPropertyDefinitions() * * @var array */ diff --git a/core/modules/text/lib/Drupal/text/Type/TextSummaryItem.php b/core/modules/text/lib/Drupal/text/Type/TextSummaryItem.php index 13e667c..90dc8b9 100644 --- a/core/modules/text/lib/Drupal/text/Type/TextSummaryItem.php +++ b/core/modules/text/lib/Drupal/text/Type/TextSummaryItem.php @@ -15,7 +15,7 @@ class TextSummaryItem extends TextItem { /** * Definitions of the contained properties. * - * @see static::getPropertyDefinitions() + * @see TextSummaryItem::getPropertyDefinitions() * * @var array */