user_revision.module line 43 contains a call to setQueryable(), which triggers the following message:
BaseFieldDefinition::setQueryable() is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, you should use \Drupal\Core\Field\BaseFieldDefinition::setCustomStorage() . See https://www.drupal.org/node/2856563.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | set_queryable_is_now_deprecated-2973540-2.patch | 882 bytes | sergiu stici |
Comments
Comment #2
sergiu stici commentedWe should be able to just remove it since we're already setting the field as computed.
Comment #3
sergiu stici commentedComment #4
gogowitsch commentedI have tested the patch locally and it works wonderfully.
Comment #6
geek-merlinThanks for contributing this and linking the CR. According to the issue that method was a NOP anyway so green by me. Committed. Thanks!