Best way to find sectionId by slug What would be the best way of finding a sectionId by its slug within my plugin?
This should work:

$section = craft()-&gt;sections-&gt;getSectionByHandle('sectionHandle');
$sectionId = section-&gt;id;