Issue #3461838 by marcgk, narendrar: Convert Constraint plugin discovery to attribute for MediaMappingsConstraint