I agree with MegaChriz that it looks like there went something wrong in the merge, but I think the
$title = (string) $entity->label();
is the redundant one, since thegetTitleString()
-method also considers Breadcrumb-Overrides (which would be overridden by the entity-label afterwards.I agree with MegaChriz that it looks like there went something wrong in the merge, but I think the
$title = (string) $entity->label();
is the redundant one, since thegetTitleString()
-method also considers Breadcrumb-Overrides (which would be overridden by the entity-label afterwards.