Reference documentation: https://www.drupal.org/docs/8/api/entity-api/dynamic...