removed unused code
This commit is contained in:
@ -3,10 +3,8 @@
|
||||
namespace Drupal\opencase;
|
||||
|
||||
use \Drupal;
|
||||
use Drupal\Core\Entity\EntityTypeManager;
|
||||
use Drupal\Core\Entity\Query\QueryInterface;
|
||||
use Drupal\Core\Entity\EntityTypeManagerInterface;
|
||||
use RuntimeException;
|
||||
|
||||
class Utils {
|
||||
|
||||
@ -40,7 +38,7 @@ class Utils {
|
||||
*/
|
||||
public function getTidByName(string $name, string $vid):int {
|
||||
if (empty($name) || empty($vid)) {
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
$properties = [
|
||||
'name' => $name,
|
||||
|
Reference in New Issue
Block a user