Get/Set AvoRed BreakCrumb Label.

@var string|null
@return \AvoRed\Framework\Breadcrumb\Breadcrumb|string
508674
public function label($label = null)
    {
        if (null === $label) {
            return $this->label;
        }
        $this->label = $label;

        return $this;
    }
106888
public function getLabel()
    {
        if ($this->locale && array_key_exists($this->locale, $this->localeLabels)) {
            return $this->localeLabels[$this->locale];
        }
        return $this->label;
    }
183006
private function breadcrumbHTML()
    {
        $html = '';
        $total = count($this->breadcrumbMenus) - 1;

        foreach ($this->breadcrumbMenus as $k => $menu) {

            if ($k == $total) {
                $html .= '<li>' . $menu['title'] . '</li>';
            }
            else {
                $html .= '<li><a tabindex="-1" href="' . $menu['url'] . '" class="' . $menu['class'] . '">' . $menu['title'] . '</a></li>';
            }
        }

        return $html;
    }
920386
public function getBreadCrumb()
    {
        $paths = [];

        if ('oxmore' == \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('cnid')) {
            $path = [];
            $path['title'] = \OxidEsales\Eshop\Core\Registry::getLang()->translateString(
                'CATEGORY_OVERVIEW',
                \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage(),
                false
            );
            $path['link'] = $this->getLink();

            $paths[] = $path;

            return $paths;
        }

        if (($categoryTree = $this->getCategoryTree()) && ($categoryPaths = $categoryTree->getPath())) {
            foreach ($categoryPaths as $category) {
                /** @var \OxidEsales\Eshop\Application\Model\Category $category */
                $categoryPath = [];

                $categoryPath['link'] = $category->getLink();
                $categoryPath['title'] = $category->oxcategories__oxtitle->value;

                $paths[] = $categoryPath;
            }
        }

        return $paths;
    }
1058601
public function closeTag()
    {
        $result = '</label>';
        if ($this->element->hasAttribute('required') && $this->element->getAttribute('required')) {
            $result = sprintf('<span class="required-mark">*</span> %s', $result);
        }

        return $result;
    }
414943
public function getThumb()
    {
        $image = $this->node
            ->filter('.item_imagePic .lazyload[data-imgsrc]')
            ->first();

        if (0 === $image->count()) {
            return null;
        }

        $src = $image
            ->attr('data-imgsrc');

        return (string)Http::createFromString($src)->withScheme('https');
    }
187487
public function getLabel()
    {
        $xpath = new \DOMXPath($this->node->ownerDocument);

        if ($this->node->hasAttribute('id')) {
            $labels = $xpath->query(sprintf('descendant::label[@for="%s"]', $this->node->getAttribute('id')));
            if ($labels->length > 0) {
                return $labels->item(0);
            }
        }

        $labels = $xpath->query('ancestor::label[1]', $this->node);
        if ($labels->length > 0) {
            return $labels->item(0);
        }
    }
910614
protected function get_home_label() {
		$page_on_front = get_option( 'page_on_front' );
		$home_label = __( 'Home', 'inc2734-wp-breadcrumbs' );
		if ( $page_on_front ) {
			$home_label = get_the_title( $page_on_front );
		}
		return $home_label;
	}
1253227
protected function getTitleTag()
    {
        $label_tag = new SwatHtmlTag('label');

        if ($this->title !== null) {
            if ($this->show_colon) {
                $label_tag->setContent(
                    sprintf(Swat::_('%s: '), $this->title),
                    $this->title_content_type
                );
            } else {
                $label_tag->setContent($this->title, $this->title_content_type);
            }
        }

        $label_tag->for = $this->getFocusableHtmlId();
        $label_tag->accesskey = $this->access_key;

        return $label_tag;
    }
673778
public function firstFormated(): string
    {
        if ($this->isEmpty()) {
            return '';
        }

        $crumb = reset($this->breadcrumbs);

        return $this->renderCrumb($crumb['name'], $crumb['href'], false, 1);
    }
147185
public function getExampleFormMarkup()
    {
        $label = Widget::Label($this->get('label'));
        $label->appendChild(Widget::Input('fields['.$this->get('element_name').']', 'yes', 'checkbox', ($this->get('default_state') == 'on' ? array('checked' => 'checked') : null)));

        return $label;
    }
580141
public function label()
    {
        if ($this->label_translated) {
            return cms_trans($this->label_translated);
        }

        if ($this->label) {
            return $this->label;
        }

        return ucfirst(str_replace('_', ' ', snake_case($this->source)));
    }
643036
public function Breadcrumbs($unlinked = false)
    {
        if (!$this->popupController->hasMethod('Breadcrumbs')) {
            return null;
        }

        /** @var ArrayList $items */
        $items = $this->popupController->Breadcrumbs($unlinked);

        if ($this->record && $this->record->ID) {
            $title = ($this->record->Title) ? $this->record->Title : "#{$this->record->ID}";
            $items->push(new ArrayData(array(
                'Title' => $title,
                'Link' => $this->Link()
            )));
        } else {
            $items->push(new ArrayData(array(
                'Title' => _t('SilverStripe\\Forms\\GridField\\GridField.NewRecord', 'New {type}', ['type' => $this->record->i18n_singular_name()]),
                'Link' => false
            )));
        }

        $this->extend('updateBreadcrumbs', $items);
        return $items;
    }
596428
public function getLabel()
	{
		$label = null;
		$id = $this->getAttribute('id');

		if ( !is_null($id) ) {
			// Label with matching "for" attribute.
			$escaped_id = $this->getXpathEscaper()->escapeLiteral($id);
			$xpath_expressions = array(
				'preceding::label[@for = ' . $escaped_id . ']',
				'following::label[@for = ' . $escaped_id . ']',
			);
			$label = $this->getWrappedElement()->find('xpath', '(' . implode(' | ', $xpath_expressions) . ')[1]');
		}

		if ( is_null($label) ) {
			// Label wrapped around checkbox.
			$label = $this->getWrappedElement()->find('xpath', 'parent::label');
		}

		if ( is_null($label) ) {
			// Label right next to checkbox.
			$label = $this->getWrappedElement()->find('xpath', 'following-sibling::*[1][self::label]');
		}

		return $label;
	}
604447
public function getTabLabel() {
    if ($this->context === 'new') {
      return $this->entityMeta->getNewLabel();
    } elseif ($this->context === 'grid') {
      return $this->entityMeta->getGridLabel();
    } elseif ($this->context === self::CONTEXT_SEARCHPANEL) {
      return $this->entityMeta->getSearchLabel();
    } elseif ($this->context === self::CONTEXT_DEFAULT) {
      return $this->entityMeta->getLabel();
    } else {
      throw new \InvalidArgumentException(sprintf("Context '%s' ist unbekannt",$this->context));
    }
  }
471418
public function getLabel()
	{
		if ($this->label === null) {
			return Str::title($this->getName());
		}

		return $this->label;
	}
977256
public function getLabel()
    {
        /** @var DeliveryFieldsService $deliveryFieldsService */
        $deliveryFieldsService = $this->getServiceLocator()->get(DeliveryFieldsService::SERVICE_ID);
        $label = $deliveryFieldsService->getLabel(
            $this->getImplementation()->getDelivery(),
            $this->getImplementation()->getLabel()
        );
        return $label;
    }