function OperationData::mode
Same name in other branches
- 9 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::mode()
- 8.9.x composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::mode()
- 11.x composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::mode()
Gets operation mode.
Return value
string Operation mode.
File
-
composer/
Plugin/ Scaffold/ Operations/ OperationData.php, line 63
Class
- OperationData
- Holds parameter data for operation objects during operation creation only.
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public function mode() {
return $this->data[self::MODE];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.