How do I get the title of an entity in hook_entity_presave?
If the entity is a node, you can do:

$entity-&gt;getTitle();

Or:

$entity-&gt;get('title')-&gt;value;

Here are a list of methods for the Entity object, and for the Node object.