By xjm on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Introduced in version:
8.0.0-beta7
Issue links:
Description:
file_htaccess_lines() has been replaced by a method in the core file storage component.
Drupal 7
$htaccess_file = file_htaccess_lines(FALSE);
Drupal 8
use Drupal\Component\PhpStorage\FileStorage;
$htaccess_file = FileStorage::htaccessLines(FALSE);