From 115e7876d994af2b98287e6b591aaf45e0fbd17b Mon Sep 17 00:00:00 2001 From: Yevhen Zvieriev Date: Tue, 9 Apr 2024 18:31:29 +0300 Subject: [PATCH] Add explanatory titles to cache management buttons --- app/code/Magento/Backend/Block/Cache.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/code/Magento/Backend/Block/Cache.php b/app/code/Magento/Backend/Block/Cache.php index 82c36bf3a1fe4..e710475aefffa 100644 --- a/app/code/Magento/Backend/Block/Cache.php +++ b/app/code/Magento/Backend/Block/Cache.php @@ -28,6 +28,7 @@ protected function _construct() 'flush_magento', [ 'label' => __('Flush Magento Cache'), + 'title' => __('Similar action as bin/magento cache:clean'), 'onclick' => 'setLocation(\'' . $this->getFlushSystemUrl() . '\')', 'class' => 'primary flush-cache-magento' ] @@ -40,6 +41,7 @@ protected function _construct() 'flush_system', [ 'label' => __('Flush Cache Storage'), + 'title' => __('Similar action as bin/magento cache:flush'), 'onclick' => 'confirmSetLocation(\'' . $message . '\', \'' . $this->getFlushStorageUrl() . '\')', 'class' => 'flush-cache-storage' ]