Skip to main content
Tweeted twitter.com/#!/StackDrupal/status/568093961400811520
clarify wording; improve grammar and spelling
Source Link

Revert a component programitcally in featureFeature Component programmatically

I have a featureFeature installed using installation profilean Installation Profile. But I always i have to go and overrideRevert a particular componentComponent so that it becomes default and those blocksit's no longer Overridden (so that, for example, the Feature's Blocks appear). So I just wanted to know if iI can maketake this step programaticallyprogrammatically using code itself so that at end of installation profile i call some function which does revert it automaticallyin the Installation Profile.

I have showIn the screenshot below, I've shown the component that has to be reverted programatically and inprogrammatically (in the screenshotenter image description here its, it's already reverted back so check box is not available).

Screenshot

Revert a component programitcally in feature

I have a feature installed using installation profile. But always i have to go and override a particular component so that it becomes default and those blocks appear. So just wanted to know if i can make this step programatically using code itself so that at end of installation profile i call some function which does revert it automatically.

I have show the component that has to be reverted programatically and in screenshotenter image description here its already reverted back so check box is not available.

Revert a Feature Component programmatically

I have a Feature installed using an Installation Profile. But I always have to go and Revert a particular Component so that it's no longer Overridden (so that, for example, the Feature's Blocks appear). I just wanted to know if I can take this step programmatically using code itself in the Installation Profile.

In the screenshot below, I've shown the component that has to be reverted programmatically (in the screenshot, it's already reverted back so check box is not available).

Screenshot

Source Link
Hacker
  • 3k
  • 7
  • 44
  • 69

Revert a component programitcally in feature

I have a feature installed using installation profile. But always i have to go and override a particular component so that it becomes default and those blocks appear. So just wanted to know if i can make this step programatically using code itself so that at end of installation profile i call some function which does revert it automatically.

I have show the component that has to be reverted programatically and in screenshotenter image description here its already reverted back so check box is not available.