/** * Gets the title of the payment type configuration page. * * @param string $bundle * The payment type's plugin ID. * * @return string */ public function title($bundle) { $definition = $this->paymentTypeManager->getDefinition($bundle); return $definition['label']; }
/** * {@inheritdoc} */ public function render(ResultRow $values) { $plugin_id = $this->getValue($values); $plugin_definition = $this->paymentTypeManager->getDefinition($plugin_id); return $plugin_definition['label']; }