You are here

constant MEDIA_TOKEN_REGEX in D7 Media 7

@file Functions related to the WYSIWYG editor and the media input filter.

@TODO: Rename this file?

2 uses of MEDIA_TOKEN_REGEX
media_filter in includes/media.filter.inc
Filter callback for media markup filter.
media_filter_parse_from_fields in includes/media.filter.inc
Parse file references from an entity's text fields and return them as an array.

File

includes/media.filter.inc, line 10
Functions related to the WYSIWYG editor and the media input filter.

Code

define('MEDIA_TOKEN_REGEX', '/\\[\\[.*?\\]\\]/s');