You are here

function _highcharttable_path_matches_decoration in HighchartTable 7

Returns whether path matches any of the wildcards in decoration.

Parameters

string $path:

array $decoration:

Return value

bool

1 call to _highcharttable_path_matches_decoration()
highcharttable_admin_configure_form in ./highcharttable.admin.inc
Menu callback for admin configuration settings.

File

./highcharttable.module, line 400
highcharttable.module

Code

function _highcharttable_path_matches_decoration($path, $decoration) {
  return !empty($decoration['pages-and-selector']) && highcharttable_match_path($path, $decoration['pages-and-selector']['include-pages']);
}