You are here

function patterns_io_get_name_from_file in Patterns 7

Same name and namespace in other branches
  1. 7.2 includes/io/ \patterns_io_get_name_from_file()
2 calls to patterns_io_get_name_from_file()
drush_patterns_run in ./
Imports, enables, and runs the specified pattern file
patterns_io_import_file in includes/io/


includes/io/, line 90
Importing Patterns from a file or using an URL.


function patterns_io_get_name_from_file($file) {
  return pathinfo($file, PATHINFO_BASENAME);