Chris@0: configuration['method'])) { Chris@0: if (method_exists($this, $this->configuration['method'])) { Chris@0: return $this->{$this->configuration['method']}($value, $migrate_executable, $row, $destination_property); Chris@0: } Chris@0: throw new \BadMethodCallException(sprintf('The %s method does not exist in the %s plugin.', $this->configuration['method'], $this->pluginId)); Chris@0: } Chris@0: else { Chris@0: throw new \BadMethodCallException(sprintf('The "method" key in the plugin configuration must to be set for the %s plugin.', $this->pluginId)); Chris@0: } Chris@0: } Chris@0: Chris@0: /** Chris@0: * {@inheritdoc} Chris@0: */ Chris@0: public function multiple() { Chris@0: return FALSE; Chris@0: } Chris@0: Chris@0: }