Check if the given segment is a valid path.

Parameters

string $segment_path: Path of the segment.

Return value

bool True if the segment is a valid path, false otherwise.

1 call to _easy_breadcrumb_validate_segment_path()
_easy_breadcrumb_build_items in ./easy_breadcrumb.module
Helper function to generate breadcrumb items.

File

./easy_breadcrumb.module, line 416

Code

function _easy_breadcrumb_validate_segment_path($segment_path) {
    $is_valid_path = drupal_valid_path($segment_path);
    return $is_valid_path;
}