Tidy up in deprecated issue
MetadataService::findValidMetadataByEntityTypeOrThrow is deprecated. It was marked such so it would remind us later to roll out the updated approach. Now is a good time to do this.
MetadataService::findValidMetadataByEntityTypeOrThrow is deprecated. It was marked such so it would remind us later to roll out the updated approach. Now is a good time to do this.