<commit_before><?php
namespace Concrete\Core\Notification\View\Menu;

use Concrete\Core\Application\UserInterface\ContextMenu\Item\DividerItem;
use Concrete\Core\Application\UserInterface\ContextMenu\Item\ItemInterface;
use Concrete\Core\Application\UserInterface\ContextMenu\Item\LinkItem;
use Concrete\Core\Application\UserInterface\ContextMenu\Menu;
use HtmlObject\Element;

class WorkflowProgressListViewMenu extends Menu
{

    public function getMenuElement()
    {
        $list = (new Element('ul'))->addClass('dropdown-menu');


        /**
         * @var $item ItemInterface
         */
        foreach($this->items as $item) {
            $list->appendChild($item->getItemElement());
        }

        $list->appendChild((new DividerItem())->getItemElement());

        $item = new LinkItem(
            '#',
            t('Archive'),
            ['data-notification-action' => 'archive']
        );
        $list->appendChild($item->getItemElement());

        return $list;
    }<commit_msg>Define 'Archive' as a verb in WorkflowProgressListViewMenu<commit_after><?php
namespace Concrete\Core\Notification\View\Menu;

use Concrete\Core\Application\UserInterface\ContextMenu\Item\DividerItem;
use Concrete\Core\Application\UserInterface\ContextMenu\Item\ItemInterface;
use Concrete\Core\Application\UserInterface\ContextMenu\Item\LinkItem;
use Concrete\Core\Application\UserInterface\ContextMenu\Menu;
use HtmlObject\Element;

class WorkflowProgressListViewMenu extends Menu
{

    public function getMenuElement()
    {
        $list = (new Element('ul'))->addClass('dropdown-menu');


        /**
         * @var $item ItemInterface
         */
        foreach($this->items as $item) {
            $list->appendChild($item->getItemElement());
        }

        $list->appendChild((new DividerItem())->getItemElement());

        $item = new LinkItem(
            '#',
            tc('Verb', 'Archive'),
            ['data-notification-action' => 'archive']
        );
        $list->appendChild($item->getItemElement());

        return $list;
    }
{'fraction_non_alphanumeric': 0.13601161665053244, 'fraction_numerical': 0.0, 'mean_word_length': 3.037109375, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1219398', 'n_tokens_mistral': 564, 'n_tokens_neox': 553, 'n_words': 89}