get('machine'); } /** * {@inheritdoc} */ public function label($langcode = NULL) { return $this->get('name'); } /** * Gets the URL. * * @return string */ public function getUrl() { return $this->get('url'); } /** * Gets the foreground color. * * @return string */ public function getFgColor() { return $this->get('fg_color'); } /** * Gets the background color. * * @return string */ public function getBgColor() { return $this->get('bg_color'); } /** * Gets the machine name. * * @param string $machine */ public function setMachine($machine) { $this->set('machine', $machine); } /** * Sets the name. * * @param string $name */ public function setName($name) { $this->set('name', $name); } /** * Sets the URL. * * @param string $url */ public function setUrl($url) { $this->set('url', $url); } /** * Sets the foreground color. * * @param string $fg_color */ public function setFgColor($fg_color) { $this->set('fg_color', $fg_color); } /** * Sets the background color. * * @param string $bg_color */ public function setBgColor($bg_color) { $this->set('bg_color', $bg_color); } }