public function resolveDependencies()
{
$dependencies = [];
if ($this->getData() instanceof ElementInterface) {
$elementType = Element\Service::getElementType($this->getData());
$key = $elementType . "_" . $this->getData()->getId();
$dependencies[$key] = ["id" => $this->getData()->getId(), "type" => $elementType];
}
return $dependencies;
}