Is there an easy way to load a related entity from an entity? I have a content entity that references another entity, ie:

public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
  $fields = parent::baseFieldDefinitions($entity_type);

  $fields['other_entity_id'] = BaseFieldDefinition::create('entity_reference')
      -&gt;setLabel(t('Other Entity'))
      -&gt;setSetting('target_type', 'other_entity')
      -&gt;setDisplayOptions('form', array(
        'type' =&gt; 'options_select',
        'weight' =&gt; 0,
      ))
      -&gt;setDisplayConfigurable('form', TRUE);


Is there an easy way for me to load the other entity from the entity that references it?
You can use the entity field property. ie:

public function getOtherEntity()
{
  return $this-&gt;get('other_entity_id')-&gt;entity;
}