17 lines
461 B
PHP
17 lines
461 B
PHP
<?php
|
|
|
|
use \BrizyPlaceholders\ContentPlaceholder;
|
|
|
|
trait Brizy_Content_Placeholders_ImageAttributesAware {
|
|
|
|
/**
|
|
* It should return a string containigng image attributes
|
|
* Ex: alt="image alt attribute" title="Image title"
|
|
*
|
|
* @param Brizy_Content_Context $context
|
|
* @param ContentPlaceholder $contentPlaceholder
|
|
*
|
|
* @return
|
|
*/
|
|
abstract public function getAttachmentId( Brizy_Content_Context $context, ContentPlaceholder $contentPlaceholder );
|
|
} |