예제 #1
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['card' => Module::t('twitterCard', 'Card'), 'site' => Module::t('twitterCard', 'Site'), 'title' => Module::t('twitterCard', 'Title'), 'description' => Module::t('twitterCard', 'Description'), 'creator' => Module::t('twitterCard', 'Creator'), 'image' => Module::t('twitterCard', 'Image')]);
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['title' => Module::t('openGraph', 'Title'), 'type' => Module::t('openGraph', 'Type'), 'url' => Module::t('openGraph', 'Url'), 'image' => Module::t('openGraph', 'Image'), 'description' => Module::t('openGraph', 'Description'), 'site_name' => Module::t('openGraph', 'Site Name'), 'video' => Module::t('openGraph', 'Video')]);
 }