public function FileLinkItem::getFormat in File Link 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Field/FieldType/FileLinkItem.php \Drupal\file_link\Plugin\Field\FieldType\FileLinkItem::getFormat()
Get file format.
Return value
string File format.
Overrides FileLinkInterface::getFormat
File
- src/
Plugin/ Field/ FieldType/ FileLinkItem.php, line 233
Class
- FileLinkItem
- Implements a 'file_link' plugin field type.
Namespace
Drupal\file_link\Plugin\Field\FieldTypeCode
public function getFormat() {
return $this
->get('format')
->getValue();
}