protected function DefaultModuleHelper::f

7.x-1.x DefaultModuleHelper.php protected DefaultModuleHelper::f()

The current factory, or a lazily created DefaultFactory.

Convenient shorthand version of DefaultModuleHelper::factory() since used so often.

Return value

\Drupal\ooe\Factory\IFactory The currently set factory, otherwise a lazily created DefaultFactory.

File

lib/Drupal/ooe/Module/DefaultModuleHelper.php, line 134
DefaultModuleHelper

Class

DefaultModuleHelper
Classes that need to keep a record of the name of the module they serve may choose to extend this.

Namespace

Drupal\ooe\Module

Code

protected function f() {
  return $this->factory();
}