WordPress at a glance
function is not described

Composer\Installers

CakePHPInstaller::getLocations() public WC 1.0

Change the default plugin location when cakephp >= 3.0

{} It's a method of the class: CakePHPInstaller{}

No Hooks.

Return

Null. Nothing.

Usage

$CakePHPInstaller = new CakePHPInstaller();
$CakePHPInstaller->getLocations();

Code of CakePHPInstaller::getLocations() WC 5.0.0

<?php
public function getLocations()
{
    if ($this->matchesCakeVersion('>=', '3.0.0')) {
        $this->locations['plugin'] =  $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
    }
    return $this->locations;
}