You are here

protected function EntityShareMediasScaldImport::rteManagement in Entity Share 7

Alter RTE datas.

Overrides EntityShareMediasProviderAbstract::rteManagement

1 call to EntityShareMediasScaldImport::rteManagement()
EntityShareMediasScaldImport::importMedias in modules/entity_share_medias/modules/entity_share_medias_scald/includes/entity_share_medias_scald.import.inc
Import the medias of the provider.

File

modules/entity_share_medias/modules/entity_share_medias_scald/includes/entity_share_medias_scald.import.inc, line 30
Class for handling scald Medias in RTE.

Class

EntityShareMediasScaldImport
Class to manage scald atoms import.

Code

protected function rteManagement() {

  // Treatment of the RTE data.
  $this
    ->rteEmbeddedMedia($this->fieldData, $this
    ->getImportRteFieldCallback(), '/\\[scald=(.+?):([^\\s]+)?\\s+url=(.+?)\\sorisid=(.+?)\\s+entity_share=1\\s(.*)]/');
}