Issue #2281635 by fubhy, er.pushpinderrana, EclipseGc, blueminds, tim.plunkett: \Drupal\Core\Plugin\Context\Context should use a ContextDefinition class instead of arrays.