Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
toolbar_entry.phtml File Reference

Go to the source code of this file.

Variables

 $notificationCount = $block->getUnreadNotificationCount()
 
 $notificationCounterMax = $block->getNotificationCounterMax()
 
if( $notificationCount > 0)( 'adminhtml/notification/index') ?>" classforeach ($block->getLatestUnreadNotifications() as $notification) ( $notification->getSeverity()==1) if ( $notification->getSeverity()==1) $notificationDescription = $block->escapeHtml($notification->getDescription())
 
 $notificationDescriptionLength = $block->getNotificationDescriptionLength()
 
if(strlen( $notificationDescription) > $notificationDescriptionLength)( $notificationDescription, 0, $notificationDescriptionLength) ?></span >< span class else
 
 endforeach = __('Close')
 
else __pad0__ = __(' unread)')
 

Variable Documentation

◆ $notificationCount

$notificationCount = $block->getUnreadNotificationCount()

Definition at line 12 of file toolbar_entry.phtml.

◆ $notificationCounterMax

$notificationCounterMax = $block->getNotificationCounterMax()

Definition at line 13 of file toolbar_entry.phtml.

◆ $notificationDescription

if ($notificationCount > 0) ('adminhtml/notification/index') ?>" classforeach ($block->getLatestUnreadNotifications() as $notification) ( $notification->getSeverity()==1) if ( $notification->getSeverity()==1) $notificationDescription = $block->escapeHtml($notification->getDescription())

Definition at line 39 of file toolbar_entry.phtml.

◆ $notificationDescriptionLength

$notificationDescriptionLength = $block->getNotificationDescriptionLength()

Definition at line 40 of file toolbar_entry.phtml.

◆ __pad0__

else __pad0__ = __(' unread)')

Definition at line 73 of file toolbar_entry.phtml.

◆ else

if (strlen($notificationDescription) > $notificationDescriptionLength) ($notificationDescription, 0, $notificationDescriptionLength) ?> </span> <span class else
Initial value:
="notifications-entry-description-end">
if( $notificationCount > 0)( 'adminhtml/notification/index') ?>" classforeach ($block->getLatestUnreadNotifications() as $notification) ( $notification->getSeverity()==1) if ( $notification->getSeverity()==1) $notificationDescription
$notificationDescriptionLength

Definition at line 45 of file toolbar_entry.phtml.

◆ endforeach

endforeach = __('Close')

Definition at line 65 of file toolbar_entry.phtml.