Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-captcha
Model
Config
Mode.php
Go to the documentation of this file.
1
<?php
12
namespace
Magento\Captcha\Model\Config
;
13
14
class
Mode
implements
\Magento\Framework\Option\ArrayInterface
15
{
21
public
function
toOptionArray
()
22
{
23
return
[
24
[
'label'
=>
__
(
'Always'
),
'value'
=>
\Magento\Captcha\Helper\Data::MODE_ALWAYS
],
25
[
26
'label'
=>
__
(
'After number of attempts to login'
),
27
'value'
=>
\Magento\Captcha\Helper\Data::MODE_AFTER_FAIL
28
]
29
];
30
}
31
}
Magento\Captcha\Helper\Data\MODE_AFTER_FAIL
const MODE_AFTER_FAIL
Definition:
Data.php:33
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Captcha\Model\Config\Mode\toOptionArray
toOptionArray()
Definition:
Mode.php:21
Magento\Captcha\Helper\Data\MODE_ALWAYS
const MODE_ALWAYS
Definition:
Data.php:28
Magento\Captcha\Model\Config\Mode
Definition:
Mode.php:14
Magento\Captcha\Model\Config
Definition:
Font.php:12