Custom display suite field
I found a better way to access the node so this will work anywhere. 

$this-&gt;entity();


Inside the current class it will load the entity, in this case, the node.

Happy drupaling!