get('id'); } /** * {@inheritdoc} */ public function getLabel() { return $this->get('label'); } /** * {@inheritdoc} */ public function getWeight() { return $this->get('weight'); } /** * {@inheritdoc} */ public function getAttributes() { return $this->get('attributes') ?: []; } /** * {@inheritdoc} */ public function get($key) { if (!empty($this->configuration[$key])) { return $this->configuration[$key]; } } /** * {@inheritdoc} */ public function set($key, $value) { $this->configuration[$key] = $value; } }