class AssetActivate in farmOS 2.x
Action that makes an asset active.
Plugin annotation
@Action(
id = "asset_activate_action",
label = @Translation("Makes an Asset active"),
type = "asset"
)
Hierarchy
- class \Drupal\asset\Plugin\Action\AssetActivate extends \Drupal\asset\Plugin\Action\AssetStateChangeBase
Expanded class hierarchy of AssetActivate
File
- modules/
core/ asset/ src/ Plugin/ Action/ AssetActivate.php, line 14
Namespace
Drupal\asset\Plugin\ActionView source
class AssetActivate extends AssetStateChangeBase {
/**
* {@inheritdoc}
*/
protected $targetState = 'active';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AssetActivate:: |
protected | property |