Skip to content
Snippets Groups Projects
Commit cb816a64 authored by Yogesh Sevak's avatar Yogesh Sevak Committed by Antonín Slejška
Browse files

Issue #3360089 by yogeshsevak: Drupal 10 Compatibility

parent bbe42e0b
No related branches found
Tags 8.x-1.0-alpha2
No related merge requests found
......@@ -169,7 +169,7 @@ class TskEntityForm extends EntityForm {
*/
public function exists($id) {
$storage = $this->entityTypeManager->getStorage('tsk_entity');
$tsk_entity = $storage->getQuery()->condition('id', $id)->execute();
$tsk_entity = $storage->getQuery()->accessCheck(FALSE)->condition('id', $id)->execute();
return (bool) $tsk_entity;
}
......
name: 'Temporary Storages Killer'
type: module
description: 'Provides a Drush command, which can kill specified temporary storages.'
core_version_requirement: ^8 || ^9
core_version_requirement: ^9.2 || ^10
package: Other
configure: entity.tsk_entity
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment