Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
InputtypePlugin.php
Go to the documentation of this file.
1 <?php
7 
14 {
23  public function afterGetVolatileInputTypes(
24  \Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype $subject,
25  array $result
26  ) {
27  $result = array_merge($result, [['select', 'swatch_visual', 'swatch_text']]);
28  return $result;
29  }
30 }
afterGetVolatileInputTypes(\Magento\Eav\Model\Adminhtml\System\Config\Source\Inputtype $subject, array $result)