Sets the config context by adding it to the context stack.
\Drupal\Core\Config\Context\ContextInterface $context: The configuration context to add.
\Drupal\Core\Config\ConfigFactory The config factory object.
public function enterContext(ContextInterface $context) {
// Initialize the context as it is being entered.
$this->contextStack[] = $context
->init();
return $this;
}