Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BasePrice.php
Go to the documentation of this file.
1 <?php
8 
11 
15 class BasePrice extends AbstractPrice
16 {
20  const PRICE_CODE = 'base_price';
21 
27  public function getValue()
28  {
29  if ($this->value === null) {
30  $this->value = false;
31  foreach ($this->priceInfo->getPrices() as $price) {
32  if ($price instanceof BasePriceProviderInterface && $price->getValue() !== false) {
33  $this->value = min($price->getValue(), $this->value ?: $price->getValue());
34  }
35  }
36  }
37  return $this->value;
38  }
39 }
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
$price