summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Entity/Node.php
diff options
context:
space:
mode:
authorNathaniel Catchpole2017-03-01 10:12:04 +0000
committerNathaniel Catchpole2017-03-01 10:12:04 +0000
commit5071f6d92db78c1849102cbd9fc7d09dba821bab (patch)
treef51a19cee2ee74f7d8ffda3829afb444b1edf8cc /core/modules/node/src/Entity/Node.php
parentbad2d57bbd21a140066a397121e0efa5677ade5a (diff)
Issue #2855886 by arshadcn, himanshu-dixit, amateescu: Deprecate \Drupal\Core\Field\FieldStorageDefinitionInterface::isQueryable() because it's not used anywhere
Diffstat (limited to 'core/modules/node/src/Entity/Node.php')
-rw-r--r--core/modules/node/src/Entity/Node.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php
index 13192cf..263f7c8 100644
--- a/core/modules/node/src/Entity/Node.php
+++ b/core/modules/node/src/Entity/Node.php
@@ -458,14 +458,12 @@ class Node extends ContentEntityBase implements NodeInterface {
$fields['revision_timestamp'] = BaseFieldDefinition::create('created')
->setLabel(t('Revision timestamp'))
->setDescription(t('The time that the current revision was created.'))
- ->setQueryable(FALSE)
->setRevisionable(TRUE);
$fields['revision_uid'] = BaseFieldDefinition::create('entity_reference')
->setLabel(t('Revision user ID'))
->setDescription(t('The user ID of the author of the current revision.'))
->setSetting('target_type', 'user')
- ->setQueryable(FALSE)
->setRevisionable(TRUE);
$fields['revision_log'] = BaseFieldDefinition::create('string_long')