code: private function setEval($property, $propInfo, $isTranslated)
      {
          $extra = isset($propInfo['eval']) ? $propInfo['eval'] : [];
          if ($isTranslated) {
              $extra['tl_class'] = 'translat-attr' . (!empty($extra['tl_class']) ? ' ' . $extra['tl_class'] : '');
          }
  
          $property->setExtra(array_merge((array) $property->getExtra(), $extra));
      }
docs: Set the evaluation array.
  
  @param PropertyInterface $property     The property definition.
  @param array             $propInfo     The property info array.
  @param bool              $isTranslated Flag if the MetaModel is translated.
  
  @return void