Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RadioSet.php
Go to the documentation of this file.
1 <?php
7 
13 {
14  const NAME = 'radioset';
15 
20  public function getComponentName()
21  {
22  return static::NAME;
23  }
24 
29  public function getIsSelected($optionValue)
30  {
31  return $this->getValue() == $optionValue;
32  }
33 }