Sets breadcrumbs on the edit review page
777296
protected function setBreadcrumbEditReview()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'text' => $this->text('Reviews'),
            'url' => $this->url('admin/content/review')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
399557
def breadcrumb(name, url, options = {})
      _breadcrumbs << Loaf::Crumb.new(name, url, options)
    end
420746
protected function setBreadcrumbEditAccount()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('/'),
            'text' => $this->text('Shop')
        );

        $breadcrumbs[] = array(
            'text' => $this->text('Account'),
            'url' => $this->url("account/{$this->data_user['user_id']}")
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
929853
def your_tips_breadcrumbs(context, active_breadcrumb_title=None):
    
    context = copy(context)
    if get_your_tip(context):

        context.update({
            'your_tip_page_slug': get_your_tip(context).slug,
            'active_breadcrumb_title': active_breadcrumb_title
        })
    return context
804915
protected function setBreadcrumbListFieldValue()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'url' => $this->url('admin/content/field'),
            'text' => $this->text('Fields')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
1112181
def edit
      @admin = current_admin.id == params[:id].to_i ? @current_admin : Admin.find(params[:id])

      # add breadcrumb and set title
      set_title(I18n.t("controllers.admin.administrators.edit.title", username: @admin.username))
      add_breadcrumb I18n.t("controllers.admin.administrators.edit.breadcrumb")

      # action for the form as both edit/new are using the same form.
      @action = 'update'

      # only allowed to edit the super user if you are the super user.
      if @admin.overlord == 'Y' && @admin.id != session[:admin_id]

        respond_to do |format|

          flash[:error] = I18n.t("controllers.admin.administrators.edit.flash.error")
          format.html { redirect_to admin_administrators_path }

        end

      end
    end
1265824
public function UpdatePageNaviBreadCrumb()
    {
        $sEditLanguage = $this->oTableConf->GetLanguage();
        $breadcrumbs = self::GetNavigationBreadCrumbs($this->sId, $sEditLanguage);
        $this->SaveField('url_path', $breadcrumbs);
        // now we also need to update all children of this category...
        $oCategory = TdbShopCategory::GetNewInstance();
        $oCategory->SetLanguage($sEditLanguage);
        /** @var $oCategory TdbShopCategory */
        if (!$oCategory->Load($this->sId)) {
            $oCategory = null;
        } else {
            $oChildren = &$oCategory->GetChildren();
            while ($oChild = $oChildren->Next()) {
                $oEditor = new TCMSTableEditorManager();
                /** @var $oEditor TCMSTableEditorManager */
                $oEditor->Init($this->oTableConf->id, $oChild->id, $sEditLanguage);
                $oEditor->AllowEditByAll($this->bAllowEditByAll);
                $oEditor->SaveField('name', $oChild->fieldName, true);
            }
        }
    }
480207
def breadcrumb_safe(context, label, viewname, *args, **kwargs):
    
    append_breadcrumb(context, _(label), viewname, args, kwargs)
    return ''
160489
public function editDownload()
    {
        $this->downloadErrorsDownload();
        $this->setTitleEditDownload();
        $this->setBreadcrumbEditDownload();

        $this->submitDownload();

        $sources = $this->getData('download.sources');

        if (is_array($sources)) {
            $this->setData('download.sources', implode(PHP_EOL, $sources));
        }

        $this->outputEditDownload();
    }
363972
private void initializeBreadCrumbElevation(final SharedPreferences sharedPreferences) {
        String key = getString(R.string.bread_crumb_elevation_preference_key);
        String defaultValue = getString(R.string.bread_crumb_elevation_preference_default_value);
        int elevation = Integer.valueOf(sharedPreferences.getString(key, defaultValue));
        setBreadCrumbElevation(elevation);
    }
842477
protected function setBreadcrumbEditPage()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'text' => $this->text('Pages'),
            'url' => $this->url('admin/content/page')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
1159447
function breadcrumb() {
        const $breadcrumb = $(`.${namespace}-breadcrumbs`).empty();

        chain().each(function () {
            const $crumb = $(this);
            $(`<span class="${namespace}-breadcrumb">`).text($crumb.text().trim()).click(function () {
                $crumb.click();
            }).appendTo($breadcrumb);
        });
    }
144172
public function editSettings()
    {
        $this->setTitleEditSettings();
        $this->setBreadcrumbEditSettings();

        $this->setData('imagestyles', $this->image_style->getList());
        $this->setData('settings', $this->module->getSettings('mobile'));
        $this->setData('imagestyle_fields', $this->getImageStyleFieldsSettings());

        $this->submitSettings();
        $this->outputEditSettings();
    }
1245418
private void obtainBreadcrumbElevation() {
        int elevation;

        try {
            elevation = ThemeUtil.getDimensionPixelSize(this, R.attr.breadCrumbElevation);
        } catch (NotFoundException e) {
            elevation = getResources().getDimensionPixelSize(R.dimen.bread_crumb_toolbar_elevation);
        }

        setBreadCrumbElevation(pixelsToDp(this, elevation));
    }
15393
protected function setBreadcrumbEditFile()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'url' => $this->url('admin/content/file'),
            'text' => $this->text('Files')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
1346105
protected function autoAddItems()
    {
        if ($this->config->get('crumbs.display_both_pages')) {
            $this->addHomePage();

            if ($this->request->is($this->config->get('crumbs.admin_pattern'))) {
                $this->addAdminPage();
            }
        } else {
            if ($this->config->get('crumbs.display_home_page') && !$this->request->is($this->config->get('crumbs.admin_pattern'))) {
                $this->addHomePage();
            }
            if ($this->config->get('crumbs.display_admin_page') && $this->request->is($this->config->get('crumbs.admin_pattern'))) {
                $this->addAdminPage();
            }
        }
    }
1264384
public static function addBreadcrumb(Breadcrumb $breadcrumb): void
    {
        $self = Hub::getCurrent()->getIntegration(self::class);

        if (!$self instanceof self) {
            return;
        }

        addBreadcrumb($breadcrumb);
    }